Sha256: bb53b35541eaedeafdeadf46cda1b91bcc556a7136fe6bbcc752e76cbb173593

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

class Article
  include Mongoid::Document
  extend WulffeldSlug::Slug

  field :title
  field :author

  has_slug :title, :mongo => true, :loop_start => 6, :blank_loop_start => 50, :blank_loop_chunk => 10
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wulffeld_slug-0.0.29 spec/app/models/article.rb
wulffeld_slug-0.0.28 spec/app/models/article.rb
wulffeld_slug-0.0.27 spec/app/models/article.rb
wulffeld_slug-0.0.26 spec/app/models/article.rb