Sha256: 78a9fd10cc8374f3cc670aa23516ef8fbdaf428f0b4874d4fa09d0673bd82ffa
Contents?: true
Size: 663 Bytes
Versions: 2
Compression:
Stored size: 663 Bytes
Contents
class Post include Mongoid::Document include Mongoid::Timestamps include Mongoid::ByStar field :day_of_month, type: Integer end class Appointment include Mongoid::Document include Mongoid::Timestamps include Mongoid::ByStar field :day_of_month, type: Integer by_star_field scope: ->{ where(day_of_month: 1) } end class Event include Mongoid::Document include Mongoid::Timestamps include Mongoid::ByStar field :st, as: :start_time, type: Time field :end_time, type: Time field :day_of_month, type: Integer by_star_field :start_time, :end_time, offset: 3.hours end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
by_star-2.2.1 | spec/fixtures/mongoid/models.rb |
by_star-2.2.0 | spec/fixtures/mongoid/models.rb |