active-support episodes

#6
Mar 16

Shortcut Blocks with Symbol to_proc

It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily.
Download (6.5 MB, 3:44)
alternative download for iPod & Apple TV (4.9 MB, 3:44)
#28
May 07

in_groups_of

Have you ever wanted to visually line up items in rows and columns? The in_groups_of method makes this a cinch. Just watch out for the gotcha.
Download (15.3 MB, 4:25)
alternative download for iPod & Apple TV (7 MB, 4:25)
#29
May 09

group_by Month

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 (30.3 MB, 5:11)
alternative download for iPod & Apple TV (10.7 MB, 5:11)
#31
May 14

Formatting Time

Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use.
Download (17.9 MB, 5:01)
alternative download for iPod & Apple TV (7.3 MB, 5:01)
#42
Jun 08

with_options

Several methods in rails take a hash of options as the last argument. If you are passing the same options to several methods, you can remove this duplication by using with_options. Learn all about it in this episode.
Download (9 MB, 3:55)
alternative download for iPod & Apple TV (5.5 MB, 3:55)
subscribe:
sponsored by:
if you want to help:
required:
Get Quicktime Player