Sha256: 75a9632feab9d88034ae9189b9290e2d6fb3a4a834573b745d4ad97f8b431088

Contents?: true

Size: 131 Bytes

Versions: 5

Compression:

Stored size: 131 Bytes

Contents

class City < ActiveRecord::Base
  attr_accessible :name
  has_friendly_id :name, :use_slug => true, :cache_column => 'my_slug'
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
friendly_id-2.2.5 test/models/city.rb
friendly_id-2.2.4 test/models/city.rb
friendly_id-2.2.3 test/models/city.rb
friendly_id-2.2.2 test/models/city.rb
nateabbott-friendly-id-2.2.1 test/models/city.rb