= private = protected
This class has no description. You can help the Ruby on Rails community by adding new notes.
activesupport/lib/active_support/core_ext/object/blank.rb activesupport/lib/active_support/core_ext/array.rb activesupport/lib/active_support/json/encoders/enumerable.rb
array.sort_by {|element| [element.foo, element.bar.name, element.baz]}
Taken from http://redcorundum.blogspot.com/2006/10/using-sortby-instead-of-sort.html