This project is archived and is in readonly mode.
Time - TimeWithZone fails (sometimes)
-
Sai Emrys
Removing the config.active_record.default_timezone fixes this. (I added it to try to help with #1339 AR::Base should not be nuking its children, just because it lost interest.)
Nevertheless, it's a weird bug.
-
Geoff Buesing
- State changed from new to invalid
The only valid settings for config.active_record.default_timezone are :utc and :local.
I've seen others make this same error -- they assume default_timezone can be set to any of the ActiveSupport timezone names. Might make sense to raise an exception if someone tries to do that, to help with the confusion.