Class: ActiveRecord::Generators::DeviseGauthGenerator
- Inherits:
-
Base
- Object
- Base
- ActiveRecord::Generators::DeviseGauthGenerator
- Defined in:
- lib/generators/active_record/devise_google_authenticator_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_devise_migration ⇒ Object
10 11 12 |
# File 'lib/generators/active_record/devise_google_authenticator_generator.rb', line 10 def copy_devise_migration migration_template 'migration.rb', "db/migrate/devise_gauth_add_to_#{table_name}.rb" end |