in_weeks()
Returns the amount of weeks a duration covers as a float
2.months.in_weeks # => 8.696
# File activesupport/lib/active_support/duration.rb, line 401 def in_weeks in_seconds / SECONDS_PER_WEEK.to_f end