this is weird try using i18n to format it. copy a file from github put it in the locale folder uncomment the set locale configuration then put an L function in front of it like this
l(comment.created_at) On Sun, Sep 12, 2010 at 2:28 PM, Andreas Schmidt <[email protected]>wrote: > so i did ut comment.try(:created_at) into the view, it outputs: > 2010-09-11 03:18:46 +0200. So i think it cant be nil ... > > > On 12 Sep., 19:56, radhames brito <[email protected]> wrote: > > put this > > > > comment.try(:created_at) > > > > and tel me what happens > > > > i want to see if it really is nil > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

