Rails::Generators::Base
This generator adds a migration for the {FriendlyId::History FriendlyId::History} addon.
Copies the migration template to db/migrate.
# File lib/generators/friendly_id_generator.rb, line 13 def copy_files(*args) migration_template 'migration.rb', 'db/migrate/create_friendly_id_slugs.rb' end
[Validate]
Generated with the Darkfish Rdoc Generator 2.