RailsCasts Pro episodes are now free!

Learn more or hide this

group_by Month

#29 group_by Month

May 09, 2007 | 5 minutes | Active Support, Views
Learn how to use the very useful group_by method to group an array by anything you want! In this episode I group an array of tasks by month then sort it properly.
  • Download:
  • mp4Full Size H.264 Video (11 MB)
  • m4vSmaller H.264 Video (6.65 MB)
  • webmFull Size VP8 Video (14.7 MB)
  • ogvFull Size Theora Video (12.6 MB)