This project is archived and is in readonly mode.
Changeset [4b36dafb35b99c570be853dc18595b3a43bd72a1] by Mislav Marohnić
Revision 4b36dafb35b99c570be853dc18595b3a43bd72a1,
committed by Mislav Marohnić
· April 17th, 2010 @ 08:07 AM
String#starts/ends_with? should return false for
non-string argument, not raise error
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/4b36dafb35b99c570be853dc18595b...
2 changed files
-
M
activesupport/lib/active_support/core_ext/string/starts_ends_with.rb -
M
activesupport/test/core_ext/string_ext_test.rb