This project is archived and is in readonly mode.

#6287 new
Wojciech Wnętrzak

Correct size units in number_to_human_size helper

Reported by Wojciech Wnętrzak | January 13th, 2011 @ 01:19 PM | in 3.1

Rails, as the framework with best practices, should use recommended size units, such as: KiB, MiB, etc. instead of KB, MB.
Using KB is ambigious because of SI definition of prefix kilo
Read more:
Kilobyte Kibibyte

Additional patch changes default units.

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>

Attachments

Pages