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: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 8/13/07, Gama Franco <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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 FrancoThe tz_time_attributes require edge rails. -- Rick Olson http://lighthouseapp.com http://weblog.techno-weenie.net http://mephistoblog.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rick Olson wrote:> On 8/13/07, Gama Franco <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> undefined method `acts_like?'' for Sun Aug 12 23:00:00 UTC 2007:Time >> >> Has someone seen this error before? >> >> Thanks, >> Tiago Franco > > The tz_time_attributes require edge rails. > > -- > Rick Olson > http://lighthouseapp.com > http://weblog.techno-weenie.net > http://mephistoblog.comDoes 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 Franco -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---