-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels