aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/test_case.rb
diff options
context:
space:
mode:
authorwangjohn <wangjohn@mit.edu>2013-03-19 22:09:17 -0400
committerwangjohn <wangjohn@mit.edu>2013-03-19 22:11:48 -0400
commit7952eafcfcbfa01a0332a1d196398f42eef5127f (patch)
tree5d84e448d92aca26f33b2bc6008c9503b21ba732 /activerecord/lib/active_record/test_case.rb
parent730f725509f7c504837510a466bd693551bacb82 (diff)
downloadrails-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/lib/active_record/test_case.rb')
0 files changed, 0 insertions, 0 deletions