I18n interpolation problem

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs