method

ago

Importance_1
v2.0.3 - Show latest stable - 0 notes - 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!

Show source
Register or log in to add new notes.