Skip to content

Commit 5d20277

Browse files
Cleanup old Rails.version check for db migration path
1 parent 4ffb0b7 commit 5d20277

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/generators/devise/orm_helpers.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ def migration_exists?(table_name)
2525
end
2626

2727
def migration_path
28-
if Rails.version >= '5.0.3'
29-
db_migrate_path
30-
else
31-
@migration_path ||= File.join("db", "migrate")
32-
end
28+
db_migrate_path
3329
end
3430

3531
def model_path

0 commit comments

Comments
 (0)