Class: ActiveRecord::Generators::DeviseOtpGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_devise_migrationObject



8
9
10
# File 'lib/generators/active_record/devise_otp_generator.rb', line 8

def copy_devise_migration
  migration_template "migration.rb", "db/migrate/devise_otp_add_to_#{table_name}.rb"
end