Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 218 Bytes
module StatBoard
module Reports
class MonthlyReport < Report
def name
"This Month"
end
def scope(model)
super.where(["created_at > ?", 1.month.ago])
end
end
end
end