Flowdock

No documentation

This class has no description. You can help the Ruby on Rails community by adding new notes.

Aliases

  • empty?
  • to_s
Show files where this class is defined (11 files)
Register or log in to add new notes.
October 3, 2009
0 thanks

sort_by

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