class ActiveRecord::Generators::DeviseLatcheableGenerator

Public Instance Methods

copy_config() click to toggle source
# File lib/generators/active_record/devise_latcheable_generator.rb, line 14
def copy_config
  template "latch.yml", "config/latch.yml"
end
copy_devise_latcheable_migration() click to toggle source
# File lib/generators/active_record/devise_latcheable_generator.rb, line 10
def copy_devise_latcheable_migration
  migration_template "migration.rb", "db/migrate/add_devise_latcheable_to_#{table_name}.rb"
end