/ Published in: Ruby
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@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
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)