Sha256: 77c19ed510d8e5495058706382a6ac3cb3371608cc7785e46adde2278f33a789
Contents?: true
Size: 487 Bytes
Versions: 12
Compression:
Stored size: 487 Bytes
Contents
require "rails/generators/active_record/migration" module LocalizableModel module Generators class MigrationGenerator < Rails::Generators::Base include ActiveRecord::Generators::Migration desc "Creates the LocalizableModel migration" source_root File.expand_path("../templates", __FILE__) def copy_files migration_template( "create_localizations.rb", "db/migrate/create_localizations.rb" ) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems