Sha256: 69bb7e1ed07baf5fc1bd7984f426ec7a64622ba180314e11f203f03946e08021

Contents?: true

Size: 355 Bytes

Versions: 40

Compression:

Stored size: 355 Bytes

Contents

class FriendlyIdGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      unless options[:skip_migration]
        m.migration_template(
          'create_slugs.rb', 'db/migrate', :migration_file_name => 'create_slugs'
        )
        m.file "/../../../lib/tasks/friendly_id.rake", "lib/tasks/friendly_id.rake"
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 8 rubygems

Version Path
dougcole-friendly_id-2.0.2 generators/friendly_id/friendly_id_generator.rb
dougcole-friendly_id-2.0.3 generators/friendly_id/friendly_id_generator.rb
dougcole-friendly_id-2.0.4 generators/friendly_id/friendly_id_generator.rb
dougcole-friendly_id-2.0.5 generators/friendly_id/friendly_id_generator.rb
dougcole-friendly_id-2.0.6 generators/friendly_id/friendly_id_generator.rb
nateabbott-friendly_id-2.1.4 generators/friendly_id/friendly_id_generator.rb
nateabbott-friendly_id-2.1.7 generators/friendly_id/friendly_id_generator.rb
nateabbott-friendly_id-2.1.8 generators/friendly_id/friendly_id_generator.rb
nateabbott-nateabbott-friendly_id-2.1.5 generators/friendly_id/friendly_id_generator.rb
nateabbott-nateabbott-friendly_id-2.1.6 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.0.1 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.0.2 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.0.3 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.0.4 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.1.0 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.1.1 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.1.2 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.1.3 generators/friendly_id/friendly_id_generator.rb
norman-friendly_id-2.1.4 generators/friendly_id/friendly_id_generator.rb
nwp-friendly_id-2.1.3 generators/friendly_id/friendly_id_generator.rb