Class: Memdash::Adapters::ActiveRecord::Report
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Memdash::Adapters::ActiveRecord::Report
- Defined in:
- lib/memdash/adapters/active_record/report.rb
Class Method Summary collapse
Class Method Details
.past_day ⇒ Object
11 12 13 |
# File 'lib/memdash/adapters/active_record/report.rb', line 11 def self.past_day where('created_at >= :time', :time => Time.current - 1.day) end |