Skip to content

ActiveSupport::CoreExtensions::String::Inflections should coerce type #934

lighthouse-import opened this Issue May 16, 2011 · 1 comment

1 participant


Imported from Lighthouse. Original ticket at:
Created by Jason Lewis - 2011-03-15 18:41:39 UTC

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.


Imported from Lighthouse.
Comment by ifesdjeen - 2011-03-19 10:35:07 UTC

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.