method
years_ago
rails latest stable - Class:
ActiveSupport::CoreExtensions::Date::Calculations
years_ago(years)public
Returns a new Date/DateTime representing the time a number of specified years ago
years_ago(years)Returns a new Date/DateTime representing the time a number of specified years ago