Sha256: 5f5075739d5b383a57d852ce94bdc9c2d35667aacae76a88721a644c55d62c16

Contents?: true

Size: 109 Bytes

Versions: 10

Compression:

Stored size: 109 Bytes

Contents

class Post < ActiveRecord::Base
  has_friendly_id :name, :use_slug => true, :reserved => ['new', 'edit']
end

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
dougcole-friendly_id-2.0.2 test/fixtures/post.rb
dougcole-friendly_id-2.0.3 test/fixtures/post.rb
dougcole-friendly_id-2.0.4 test/fixtures/post.rb
dougcole-friendly_id-2.0.5 test/fixtures/post.rb
norman-friendly_id-2.0.1 test/fixtures/post.rb
norman-friendly_id-2.0.2 test/fixtures/post.rb
alancse-friendly_id-2.0.1 test/fixtures/post.rb
friendly_id-1.9.9 test/fixtures/post.rb
friendly_id-2.0.1 test/fixtures/post.rb
friendly_id-2.0.0 test/fixtures/post.rb