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