This project is archived and is in readonly mode.
ActiveSupport::CoreExtensions::String::Inflections should coerce type
Reported by Jason Lewis | March 15th, 2011 @ 06:41 PM
I'm not sure if this has been considered and/or dismissed, but if #humanize, #camelize, etc called #to_s on the receiver, it would avoid a lot of whiny nils and other errors, and make view code more manageable (i.e., avoid having to remember to call to_s before humanize on values that might be nil.
Comments and changes to this ticket
-
ifesdjeen March 19th, 2011 @ 10:35 AM
Not sure, why exactly that is raised.
If it's String::Inflections, it seems to be clear enough that it should be called on string...
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>