Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Revised Episodes x
Cropping Images (revised)
Episode #182Dec 02, 201142 comments

Cropping Images (revised)

Allow users to interactively crop uploaded images using Jcrop and Carrierwave. Includes a live preview that shows the resulting image. (11 minutes)
Dynamic Select Menus (revised)
Episode #88Nov 25, 201170 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, 201126 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)
Auto-Complete Association (revised)
Episode #102Nov 10, 201147 comments

Auto-Complete Association (revised)

A select menu is often used for setting a belongs_to association, but you should also consider using a text field with autocomple. Here I use jQuery UI and show two different solutions: client side and server side. (9 minutes)
PDFs with Prawn (revised)
Episode #153Nov 03, 201154 comments

PDFs with Prawn (revised)

Prawn is an excellent Ruby library for generating PDF documents. Here you will learn how to add it to a Rails application through a separate PDF renderer class. (11 minutes)
Factories not Fixtures (revised)
Episode #158Oct 27, 201119 comments

Factories not Fixtures (revised)

Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show how to use Factory Girl to generate the needed records directly in the tests. (9 minutes)
Exception Notifications (revised)
Episode #104Oct 20, 201123 comments

Exception Notifications (revised)

Few things are worse than seeing a "Something went wrong" 500 error on your production application. Here I show how to be notified when this happens using exception_notification and mention several other alternatives. (6 minutes)
Sortable Lists (revised)
Episode #147Oct 13, 2011103 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)
will_paginate (revised)
Episode #51Oct 06, 201117 comments

will_paginate (revised)

Almost every Rails application needs pagination, and will_paginate is a great way to go. Here I show you how to set it up, customize the way it looks, and see how it compares with Kaminari. (6 minutes)