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