Browse Source

Add file extension to ActiveRecord generator

master
Jack Turnbull 10 years ago
parent
commit
94dcc19e99
  1. 2
      lib/generators/active_record/two_factor_authentication_generator.rb

2
lib/generators/active_record/two_factor_authentication_generator.rb

@ -6,7 +6,7 @@ module ActiveRecord
source_root File.expand_path("../templates", __FILE__)
def copy_two_factor_authentication_migration
migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}"
migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}.rb"
end
end

Loading…
Cancel
Save