RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: performance x
Counter Cache Column
Episode #23 – Apr 25, 2007 – 69 comments

Counter Cache Column

If you need to display the record count for a has_many association, you can improve performance by caching that number in a column. (7 minutes)
Update through Checkboxes
Episode #52 – Jul 02, 2007 – 44 comments

Update through Checkboxes

See how to select multiple items using checkboxes and perform an action on the selected items in this episode. (10 minutes)
Eager Loading
Episode #22 – Apr 23, 2007 – 54 comments

Eager Loading

One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode! (4 minutes)
Caching with Instance Variables
Episode #1 – Mar 04, 2007 – 69 comments

Caching with Instance Variables

Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable! (2 minutes)
YAML Configuration File
Episode #85 – Dec 23, 2007 – 50 comments

YAML Configuration File

Application configuration shouldn't be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode. (7 minutes)