Sha256: 0898630420c736967ca6665f6a3dd734bb95a5896c2b27c6e1fac997a4124141

Contents?: true

Size: 120 Bytes

Versions: 9

Compression:

Stored size: 120 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mongoid-4.0.2/spec/app/models/audio.rb
mongoid-4.0.2 spec/app/models/audio.rb
mongoid-4.0.1 spec/app/models/audio.rb
mongoid-4.0.0 spec/app/models/audio.rb
mongoid-4.0.0.rc2 spec/app/models/audio.rb
mongoid-4.0.0.rc1 spec/app/models/audio.rb
mongoid-4.0.0.beta2 spec/app/models/audio.rb
mongoid-4.0.0.beta1 spec/app/models/audio.rb
mongoid-4.0.0.alpha2 spec/app/models/audio.rb