Class: ActiveRecord::Generators::DeviseSmsActivableGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/active_record/devise_sms_activable_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_devise_migrationObject



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