hi, i using rails 2.3.8, i have setting this on my view:
<%=h l(@banner.expire, :format => :long) %>
(when "@banner.expire" is a Date )
and this on the my localized yml locale:
date:
formats:
long: "%d %B %Y"
but wheel i load the page, i have this error:
I18n::MissingInterpolationArgument in Admin/banners#show
missing interpolation argument in "%{count} %B %Y" ({:object=>Wed,
02
Jun 2010} given)
i don''t understand what is the count variable.
how can i resolve?
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.