Class: ActiveRecord::Generators::DeviseUidGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_devise_migrationObject



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

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