diff options
author | Yang Bo <yangbodotnet@gmail.com> | 2015-04-08 22:18:56 +0800 |
---|---|---|
committer | Yang Bo <yangbodotnet@gmail.com> | 2015-04-08 22:18:56 +0800 |
commit | a77de09812eec5f342dd159f053038c6f67e6da4 (patch) | |
tree | bcfee53c34e625d9e22c0f0cf49a7dcba4573f67 /activerecord/lib/active_record/callbacks.rb | |
parent | a05f3e5f96f7a8aa55483d91becdbe49b81833fd (diff) | |
download | rails-a77de09812eec5f342dd159f053038c6f67e6da4.tar.gz rails-a77de09812eec5f342dd159f053038c6f67e6da4.tar.bz2 rails-a77de09812eec5f342dd159f053038c6f67e6da4.zip |
sort_by instead of sort
it is avoid sort errot within different and mixed keys.
used `sort_by` + `block` to list parameter by keys.
keep minimum changes
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions