On 23/01/2008, Siva Jagadeesan <[EMAIL PROTECTED]> wrote:
> Hi all
>
> At yewoh.com , we keep randomly getting "can't modify frozen object" error.
>
> Any idea?

Hi Siva,

It's a bit difficult to work out what is going on from just that error
message alone. It may not be anything to do with TZInfo. If you've got
a stack trace for the error in your logs, it should tell you what is
causing the problems.

TZInfo does use the freeze method to protect some of the arrays that
are returned. If you are accessing these methods and then attempting
to modify the results, then this may be the cause of the problem.

Regards,

Phil

-- 
Phil Ross
http://tzinfo.rubyforge.org/ -- DST-aware timezone library for Ruby
_______________________________________________
TZInfo-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/tzinfo-users

Reply via email to