This project is archived and is in readonly mode.
ActiveSupport::Inflector.camelize fails when you pass any object that's not a string
-
calavera
- Tag changed from 2.x test patch, active_support, inflector to 2.x, active_support, inflector, patch, test
-
calavera
Actually it breaks with every object that doesn't implement the method "first". This code also breaks:
class MyClass; def to_s "my class" end end ActiveSupport::Inflector.camelize(MyClass.new, false) -
calavera
- Title changed from Ensure ActiveSupport::Inflector.camelize works with symbols to ActiveSupport::Inflector.camelize fails when you pass any object that's not a string
-
Repository
- State changed from new to resolved
(from [882dd4e6054470ee56c46ab1432861952c81b633]) ensure Inflector.camelize works with symbols [#2856 ActiveSupport::Inflector.camelize fails when you pass any object that's not a... state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche ykatz+clerche@engineyard.com
http://github.com/rails/rails/commit/882dd4e6054470ee56c46ab1432861...
