Revision: 13897
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 11, 2009 09:15 by sionnnn
Initial Code
@posts.sort_by(&:date).each do |post| puts post end @tasks = {} TaskList.find(:all).group_by(&:type) do |type, subtasks| @tasks[type] = subtasks.group_by(&:name) end
Initial URL
Initial Description
Initial Title
rails sort_by and group_by
Initial Tags
Initial Language
Ruby