Displaying 1 result from an estimated 1 matches for "missinginterpolationargument".
2010 Sep 06
0
I18n interpolation problem
...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 subscribe...