aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/join_model_test.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/test/cases/associations/join_model_test.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/test/cases/associations/join_model_test.rb')
0 files changed, 0 insertions, 0 deletions