Parent

Methods

Included Modules

FriendlyIdGenerator

This generator adds a migration for the {FriendlyId::History FriendlyId::History} addon.

Public Instance Methods

copy_files(*args) click to toggle source

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.