Sha256: 20f77781bedad65627bdf5118655fe42d51168d37018d3b34b45057f77568a58

Contents?: true

Size: 147 Bytes

Versions: 2

Compression:

Stored size: 147 Bytes

Contents

class Dog
  include Mongoid::Document

  def self.slug_source
    :moniker
  end

  include Popolo::Sluggable
  index({slug: 1}, unique: true)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
popolo-0.0.2 spec/dummy/app/models/dog.rb
popolo-0.0.1 spec/dummy/app/models/dog.rb