16 Apr '13, 12pm

2列ソート、色々なやり方があった

IN sql we can pass two arguments to the 'order by' component, and it will order the results by A, and then B in the cases where A is the same. Can anyone think of a way to do the same thing with a ruby array? For example, if the array holds objects that have attributes/methods "lastname" & "firstname", to order the objects in a similar way to the sql query? thanks max

Full article: http://www.ruby-forum.com/topic/162413

Tweets

Modifying the order of Datetime picker in Rails

api.rubyonrails.org 16 Apr '13, 5am

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February")...

Samsung to take on China smartphone vendors wit...

digitimes.com 15 Apr '13, 5am

Samsung to take on China smartphone vendors with array of new models Daniel Shen, Taipei; Steve Shen, DIGITIMES [Monday 15...