aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/dirty.rb
diff options
context:
space:
mode:
authorJames Golick <james@giraffesoft.ca>2010-03-16 09:49:25 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-03-16 10:04:20 -0700
commit67d8b9743add53f908ca417c641c4a54dd326c7d (patch)
treecefe33c795c046ed904e21a0f21086ba0c3fafb8 /activerecord/lib/active_record/attribute_methods/dirty.rb
parent0db68fd1408e52b1edc62b18756ba2662f9b5b3c (diff)
downloadrails-67d8b9743add53f908ca417c641c4a54dd326c7d.tar.gz
rails-67d8b9743add53f908ca417c641c4a54dd326c7d.tar.bz2
rails-67d8b9743add53f908ca417c641c4a54dd326c7d.zip
Improve performance of multibyte utils.
Switch from using String#match to using String#=~. There's no need to generate a MatchData for each iteration since we're not using it. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/dirty.rb')
0 files changed, 0 insertions, 0 deletions