minor shit updates

This commit is contained in:
Harry Bomrah committed 2012-09-13 19:02:08 +08:00
1 parent 2d053164e8
commit bedde860a4
3 files changed
+22 -2

No files matched your search

+7 -1
View File
@@ -1,4 +1,10 @@
class Event
include Mongoid::Document
has_event_calendar
include EventCalendar
has_event_calendar
# def self.events_for_date_range(start_d, end_d, find_options = {})
# where(find_options.merge(self.end_at_field.to_sym.lt => end_d.to_time.utc,
# self.start_at_field.to_sym.gt => start_d.to_time.utc)).asc(self.start_at_field)
# end
end