method
ago
v1.2.6 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Time::Calculations
ago(seconds)public
Returns a new Time representing the time a number of seconds ago, this is basically a wrapper around the Numeric extension Do not use this method in combination with x.months, use months_ago instead!