| Path: | lib/active_support/core_ext/time/marshal.rb |
| Last Update: | Fri Dec 17 05:16:21 -0500 2010 |
Pre-1.9 versions of Ruby have a bug with marshaling Time instances, where utc instances are unmarshalled in the local zone, instead of utc. We‘re layering behavior on the _dump and _load methods so that utc instances can be flagged on dump, and coerced back to utc on load.