Class: ActiveRecord::Generators::CookieCryptGenerator

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

Instance Method Summary collapse

Instance Method Details



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

def copy_cookie_crypt_migration
  migration_template "migration.rb", "db/migrate/cookie_crypt_add_to_#{table_name}"
end