Is 10.minutes.ago using Time.now or Time.current?
ruby-on-rails, ruby-on-rails-4, time
Solution
`Time.current` (ActiveSupport 5.2.0)
Problem
"The difference of `.current` and `.now` is that `.now` uses the server's timezone, while `.current` uses what the Rails environment is set to (`Time.zone`), if not set, then `.current` will act the same as `.now`." When I do `10.minutes.ago`, is Rails using `Time.current` or `Time.now`?