You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use that gem with Rails 5 and call Schedule.first it gives you the following deprecation warning:
DEPRECATION WARNING: Time columns will become time zone aware in Rails 5.1. This
still causes `String`s to be parsed as if they were in `Time.zone`,
and `Time`s to be converted to `Time.zone`.
To keep the old behavior, you must add the following to your initializer:
config.active_record.time_zone_aware_types = [:datetime]
To silence this deprecation warning, add the following:
config.active_record.time_zone_aware_types = [:datetime, :time]
What is the desired option?
The text was updated successfully, but these errors were encountered:
If you use that gem with Rails 5 and call
Schedule.first
it gives you the following deprecation warning:What is the desired option?
The text was updated successfully, but these errors were encountered: