Sha256: 6bcf4874a5cb76ff99c1f3ae488c6711eb5d889bf2e098e4ce32795d5960767c

Contents?: true

Size: 135 Bytes

Versions: 8

Compression:

Stored size: 135 Bytes

Contents

class House
  include Mongoid::Document
  field :name, type: String
  field :model, type: String

  default_scope ->{ asc(:name) }
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mongoid-paranoia-1.1.0 spec/app/models/house.rb
mongoid-paranoia-1.0.1 spec/app/models/house.rb
mongoid-paranoia-1.0.0 spec/app/models/house.rb
mongoid-versioning-1.0.0 spec/app/models/house.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/house.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/house.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/house.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/house.rb