This method is deprecated or moved on the latest stable version.
The last existing version (v3.2.13) is shown here.
end_of_quarter()
public
Returns a new Date/DateTime representing the end
of the quarter (last day of march, june, september, december; DateTime objects will have time set to 23:59:59)
# File activesupport/lib/active_support/core_ext/date/calculations.rb, line 250
def end_of_quarter
beginning_of_month.change(:month => [3, 6, 9, 12].detect { |m| m >= self.month }).end_of_month
end