RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes xActive Support x
Rails 2.3 Extras
Episode #152Mar 09, 200955 comments

Rails 2.3 Extras

This episode finishes up this series on Rails 2.3. Here you will learn about several smaller additions in 2.3. (9 minutes)
Caching in Rails 2.1
Episode #115Jun 23, 200878 comments

Caching in Rails 2.1

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode. (8 minutes)
with_options
Episode #42Jun 08, 200736 comments

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. (3 minutes)
Formatting Time
Episode #31May 14, 200746 comments

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. (5 minutes)
group_by Month
Episode #29May 09, 200762 comments

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. (5 minutes)
in_groups_of
Episode #28May 07, 200743 comments

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. (4 minutes)
Shortcut Blocks with Symbol to_proc
Episode #6Mar 16, 200743 comments

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. (3 minutes)