> The pluralize method does not seem to be working correctly. > pluralize(count, "Due Today") > > gives me the following output: > 2 Due Todays > 1 Due Tomorrows > 0 Past Dues > 0 Due End of Weeks > > It should have been: > 2 Due Today > 1 Due Tomorrow > 0 Past Due > 0 Due End of Week
It's working. You just found an example where it doesn't make sense for your application. The plural of "week" is "weeks", etc... It doesn't seem to me like you want to pluralize it... just print it out with your label after it... ??? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

