RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails xForms x
Form Objects
Episode #416 – Jun 03, 2013 – 335 comments

Form Objects

Models have a tendency to become a complex mess as an application grows. In this episode you will learn a couple of techniques to extract form-behavior out into its own class. (18 minutes)
Calendars (revised)
Episode #213 – Aug 10, 2012 – 127 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)
Validations in Rails 3
Episode #211 – Apr 26, 2010 – 59 comments

Validations in Rails 3

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model. (9 minutes)
Wizard Forms with Wicked
Episode #346 – May 03, 2012 – 84 comments

Wizard Forms with Wicked

Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. (11 minutes)
Dynamic Forms
Episode #403 – Jan 27, 2013 – 120 comments

Dynamic Forms

Learn how to add fields to a form dynamically using another form, complete with custom field types. It's fieldception! (14 minutes)
Token Fields (revised)
Episode #258 – May 05, 2012 – 158 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)
More on Twitter Bootstrap
Episode #329 – Feb 28, 2012 – 117 comments

More on Twitter Bootstrap

This episode continues on the Twitter Bootstrap project showing how to display flash messages, add form validations with SimpleForm, customize layout with variables, and switch to using Sass. (12 minutes)
HABTM Checkboxes (revised)
Episode #17 – Dec 22, 2011 – 94 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)
SimpleForm (revised)
Episode #234 – Mar 03, 2012 – 62 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)
OmniAuth Identity
Episode #304 – Dec 05, 2011 – 85 comments

OmniAuth Identity

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. (11 minutes)