This project is archived and is in readonly mode.

#3821 ✓committed
Gabriel Mansour

fix pluralization for numbers formatted like '1.00'

Reported by Gabriel Mansour | January 30th, 2010 @ 06:15 PM | in 2.3.6

This patch fixes pluralization for numbers formatted like '1.00' (e.g. when formatted using number_with_precision()).

pluralize('1.00', 'hour') should return "1.00 hour" instead of "1.00 hours".

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages