Sha256: ab1fc9977323a18c3cc9237e77744ad72d0aaf4689ed30b7b819df3f44e2ae6a

Contents?: true

Size: 114 Bytes

Versions: 5

Compression:

Stored size: 114 Bytes

Contents

class Audio
  include Mongoid::Document
  field :likes, type: Integer
  default_scope where(:likes.gt => 100)
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
mongoid-4.0.0.alpha1 spec/app/models/audio.rb
sepastian-mongoid-rails4-4.0.1.alpha spec/app/models/audio.rb
sepastian-mongoid-rails4-4.0.0.alpha spec/app/models/audio.rb
mongoid_heroku_stable-4.0.0 spec/app/models/audio.rb
mongoid_rails4-4.0.0 spec/app/models/audio.rb