Module | Groupdate |
In: |
lib/groupdate.rb
lib/groupdate/calculations.rb lib/groupdate/series.rb lib/groupdate/version.rb lib/groupdate/scopes.rb lib/groupdate/order_hack.rb lib/groupdate/magic.rb |
PERIODS | = | [:second, :minute, :hour, :day, :week, :month, :quarter, :year, :day_of_week, :hour_of_day, :day_of_month, :month_of_year] | ||
FIELDS | = | PERIODS | backwards compatibility for anyone who happened to use it | |
METHODS | = | PERIODS.map { |v| :"group_by_#{v}" } + [:group_by_period] | ||
VERSION | = | "3.2.0" |