[Rails] time zones - acts_like? problem
by Gama Franco other posts by this author
Aug 13 2007 8:53AM messages near this date
[Rails] observe_field not working with Internet Explorer
|
[Rails] Re: 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 Franco
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta
lk" group.
To post to this group, send email to rubyonrails-talk@[...].com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@[...].com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Thread:
Gama Franco
Rick Olson
Gama Franco
|