Class: ActiveRecord::Generators::TwoFactorAuthenticationGenerator
- Inherits:
-
Base
- Object
- Base
- ActiveRecord::Generators::TwoFactorAuthenticationGenerator
- Defined in:
- lib/generators/active_record/two_factor_authentication_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_two_factor_authentication_migration ⇒ Object
8 9 10 |
# File 'lib/generators/active_record/two_factor_authentication_generator.rb', line 8 def copy_two_factor_authentication_migration migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}" end |