Sha256: 35b05ab180c3b206f49e9393ce1abfa4780857416bec09e33fed353c3fe9a5c1

Contents?: true

Size: 131 Bytes

Versions: 7

Compression:

Stored size: 131 Bytes

Contents

class Dog
  include Mongoid::Document
  field :name, type: String
  has_and_belongs_to_many :breeds
  default_scope asc(:name)
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
mongoid-paranoia-0.3.0 spec/app/models/dog.rb
mongoid-paranoia-0.2.1 spec/app/models/dog.rb
mongoid-versioning-0.2.0 spec/app/models/dog.rb
mongoid-paranoia-0.2.0 spec/app/models/dog.rb
mongoid-paranoia-0.1.1 spec/app/models/dog.rb
mongoid-versioning-0.1.0 spec/app/models/dog.rb
mongoid-paranoia-0.1.0 spec/app/models/dog.rb