It's Active Support fixing a bug in Ruby 1.8.x where UTC times are
incorrectly unmarshaled as local, not UTC, times.

So we flag that the time is UTC when it's dumped and coerce it back to
UTC when it's loaded.

jeremy

On Fri, Apr 24, 2009 at 12:03 PM, Morgan Morgan
<[email protected]> wrote:
>
> this is a debug on the @schedules variable which contains a bunch of
> start and end times pulled from a mysql database.
>
>  attributes:
>    schedule_type: "7"
>    schedule_start: 2009-04-24 04:00:00
>    id: "21"
>    uid: "12"
>    schedule_end: 2009-04-24 11:00:00
>  attributes_cache:
>    schedule_start: !timestamp
>      at: "2009-04-24 04:00:00 -04:00"
>      "@marshal_with_utc_coercion": false
>    schedule_end: !timestamp
>      at: "2009-04-24 11:00:00 -04:00"
>      "@marshal_with_utc_coercion": false
>
> i have no clue what this means....  I've never gotten this one before.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to