Class: ActiveRecord::Generators::DeviseUidGenerator
- Inherits:
-
Base
- Object
- Base
- ActiveRecord::Generators::DeviseUidGenerator
- Defined in:
- lib/generators/active_record/devise_uid_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_devise_migration ⇒ Object
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 |