class SluggiGenerator
Copy the migration to create the slugs table.
Public Instance Methods
copy_files()
click to toggle source
Copy the migration template to db/migrate.
# File lib/generators/sluggi_generator.rb, line 12 def copy_files migration_template "create_slugs.erb.rb", "db/migrate/create_slugs.rb" end