Hello,
does any one know why:
<%= I18n.l Time.now %>
returns an empty string?
But it works when I run it on the console:
I18n.l Time.now
=> "Mon, 29 Mar 2010 18:38:32 +0100"
I can't think of anything that could cause that problem and Google
didn't help... any help would be highly appreciated!
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment