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