This project is archived and is in readonly mode.
Better style in NumberHelper
Reported by Xavier Shay | February 17th, 2010 @ 04:12 AM | in 3.0.2
NumberHelper uses blank rescues heap, this is pretty bad form and makes the code harder to understand. I refactored out the obvious abuses, though left in the ones on the i18n translate lines since I figure that pattern (which I don't like) is probably used elsewhere.
This doesn't change tested behaviour.
Comments and changes to this ticket
-
Santiago Pastorino March 4th, 2010 @ 08:49 PM
- Tag changed from actionpack numberhelper style to actionpack numberhelper style, 3.0
- Assigned user set to Yehuda Katz (wycats)
- Milestone cleared.
Applies cleanly on master
-
Santiago Pastorino March 5th, 2010 @ 05:15 PM
- State changed from new to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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>