README.md in reportable-1.0.2 vs README.md in reportable-1.0.3
- old
+ new
@@ -20,10 +20,10 @@
class User < ActiveRecord::Base
reportable :last_name_starting_with_a_registrations, :aggregation => :count, :grouping => :month, :conditions => ["last_name LIKE 'A%'"]
- reportable :updated_per_second, :aggregation => :count, :grouping => :second, :date_column => :updated_at
+ reportable :updated_per_second, :aggregation => :count, :grouping => :hour, :date_column => :updated_at
end
For every declared report a method is generated on the model that returns the date:
\ No newline at end of file