Drop Rails3 support

This commit is contained in:
Stephan Kaag
2014-02-17 17:44:28 +01:00
parent 48ac29ae5d
commit f12925887c
27 changed files with 185 additions and 1522 deletions

View File

@@ -19,12 +19,6 @@ from
) as X
where calc <> p.post_number and X.id = p.id')
# automagically does this
unless rails4?
remove_index :posts, :forum_thread_id_and_post_number
add_index :posts, [:topic_id, :post_number], unique: true
end
end
def down