Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
years_ago(years)
public
Returns a new Time representing the time a number
of specified years ago
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 151
def years_ago(years)
advance(:years => -years)
end