Time zones - acts_like? problem

Hi,

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?

Thanks,
Tiago F.

On 8/13/07, Gama F. [email protected] wrote:

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

Has someone seen this error before?

Thanks,
Tiago F.

The tz_time_attributes require edge rails.


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

Rick O. wrote:

On 8/13/07, Gama F. [email protected] wrote:

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

Has someone seen this error before?

Thanks,
Tiago F.

The tz_time_attributes require edge rails.


Rick O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

Does this mean that it uses a feature that is not yet in the stable
release of Rails?

Is there an alternative to TzTime for the features it provides?

Thanks,
Tiago F.