class Enjoy::Seo::MigrationGenerator
Public Instance Methods
migration()
click to toggle source
# File lib/generators/enjoy/seo/migrations/migration_generator.rb, line 10 def migration if Enjoy.active_record? %w(seos).each do |table_name| migration_template "migration_#{table_name}.rb", "db/migrate/enjoy_create_#{table_name}.rb" end end end