Topic: TzTime error when reading date


I have just installed TzInfo and TzTime.

One of my models as an attribute named "date", and I have set: tz_time_attributes :date

Unfortunately when I display this attribute in a view I get the following error:

undefined method `acts_like?' for Sun Aug 12 23:00:00 UTC 2007:Time

Has someone seen this error before?

  Tiago Franco

Re: TzTime error when reading date

I'm not 100% sure, but I think you need to upgrade to Edge Rails. You have to freeze Edge Rails twice to get it to work, though.