This project is archived and is in readonly mode.

Changeset [4b36dafb35b99c570be853dc18595b3a43bd72a1] 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...

Committed by Mislav Marohnić

  • M activesupport/lib/active_support/core_ext/string/starts_ends_with.rb
  • M activesupport/test/core_ext/string_ext_test.rb

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>