method
prev_month
rails latest stable - Class:
DateAndTime::Calculations
prev_month(months = 1)public
Returns a new date/time the specified number of months ago.
prev_month(months = 1)Returns a new date/time the specified number of months ago.