1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib
Ernie Miller 9e67954dcf Fix inconsistent behavior from String#first/#last
While calling String#first or String#last with zero or a Fixnum < the
string's length returns a new string, a Fixnum >= the string's length
returns the string itself. This inconsistency can lead to inadvertent
mutation of a string.
2014-04-18 14:55:30 -04:00
..
active_support Fix inconsistent behavior from String#first/#last 2014-04-18 14:55:30 -04:00
active_support.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30