Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Revised Episodes xForms x
Edit Multiple (revised)
Episode #165Feb 25, 201321 comments

Edit Multiple (revised)

Editing one record at a time can be tedious work. Here you will learn three different ways to edit multiple records at once using checkboxes. (15 minutes)
Calendars (revised)
Episode #213Aug 10, 201279 comments

Calendars (revised)

Learn how to add a calendar to your Rails app. Whether it be a date picker using jQuery UI or a full page calendar for browsing records, I will show you how to do it in this episode. (9 minutes)
Virtual Attributes (revised)
Episode #16Jul 20, 201219 comments

Virtual Attributes (revised)

Virtual attributes are a clean way to add form fields that do not map directly to the database. Here I show how to handle validations, associations, and more. (11 minutes)
Token Fields (revised)
Episode #258May 05, 2012107 comments

Token Fields (revised)

The Chosen plugin makes it easy to turn a many-to-many select menu into a searchable token field. Then see how the jQuery Tokeninput field can help with AJAX loading and creating new records. (10 minutes)
Nested Model Form (revised)
Episode #196Apr 19, 2012155 comments

Nested Model Form (revised)

Handling multiple models in a single form is easy with accepts_nested_attributes_for. Here you will also learn how to add and remove nested records through JavaScript. (11 minutes)
SimpleForm (revised)
Episode #234Mar 03, 201221 comments

SimpleForm (revised)

Easily generate complex forms with SimpleForm. Here I show how to convert bulky markup into a concise list of fields, customize it by passing options, and add error handling. (9 minutes)
HABTM Checkboxes (revised)
Episode #17Dec 22, 201153 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)
Cropping Images (revised)
Episode #182Dec 02, 201141 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, 201169 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)