RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Revised Episodes xViews x
Fragment Caching (revised)
Episode #90Feb 18, 201265 comments

Fragment Caching (revised)

If you need to cache a certain section of a page instead of the entire page, fragment caching is the way to go. Learn how caching is stored, how to create auto expiring caches, and more. (9 minutes)
HABTM Checkboxes (revised)
Episode #17Dec 22, 201194 comments

HABTM Checkboxes (revised)

A many-to-many association can be edited through check boxes in a form. Here I show how to do this with a has_many through association complete with clickable labels. (6 minutes)
Dynamic Select Menus (revised)
Episode #88Nov 25, 2011112 comments

Dynamic Select Menus (revised)

Do you need to dynamically change one select menu based on the value of another? Here I show how to filter states/provinces by a selected country using grouped options and a dab of CoffeeScript. (7 minutes)
Advanced Search Form (revised)
Episode #111Nov 17, 201161 comments

Advanced Search Form (revised)

It is often best to use a GET request when submitting a search form, however if it is an advanced search form with a lot of fields then this may not be ideal. Here I show how to create a search resource to handle this. (6 minutes)
Sortable Lists (revised)
Episode #147Oct 13, 2011131 comments

Sortable Lists (revised)

Here I show how to use jQuery UI to make a sortable list and a "sort" action to handle the updating. Top it off with acts_as_list to make it feature complete. (6 minutes)