diff options
author | wangjohn <wangjohn@mit.edu> | 2013-03-19 22:09:17 -0400 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-03-19 22:11:48 -0400 |
commit | 7952eafcfcbfa01a0332a1d196398f42eef5127f (patch) | |
tree | 5d84e448d92aca26f33b2bc6008c9503b21ba732 /activerecord/test/cases/sanitize_test.rb | |
parent | 730f725509f7c504837510a466bd693551bacb82 (diff) | |
download | rails-7952eafcfcbfa01a0332a1d196398f42eef5127f.tar.gz rails-7952eafcfcbfa01a0332a1d196398f42eef5127f.tar.bz2 rails-7952eafcfcbfa01a0332a1d196398f42eef5127f.zip |
Changed the call to .sort.last to .max when computing the migration version. You
do not actually need to sort everything (incurs more cost than just a
simple max).
Diffstat (limited to 'activerecord/test/cases/sanitize_test.rb')
0 files changed, 0 insertions, 0 deletions