I think 1.week.days does not yield the desired result. It is the equivalent
of 1.week.to_i.days or 604800 days. The other time period name helper
methods would produce analogous results.
On Thursday, March 5, 2020 at 9:04:23 PM UTC-5, Josh Brody wrote:
>
> `1.week.days` is what you're looking fo
I think this was merged into 5.1
(https://github.com/rails/rails/pull/24203).
- Phil
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-core+un