class DbCacheStore::Generators::InstallGenerator

Public Instance Methods

generate_migration() click to toggle source
# File lib/generators/db_cache_store/install/install_generator.rb, line 6
def generate_migration
  copy_file "migration.rb", "db/migrate/#{DateTime.now.strftime("%Y%m%d%H%M%S")}_create_db_caches.rb"
end