RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xForms x
Client Side Validations
Episode #263 – Apr 25, 2011 – 76 comments

Client Side Validations

Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem. (8 minutes)
Nested Model Form Part 1
Episode #196 – Jan 11, 2010 – 184 comments

Nested Model Form Part 1

Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields. (11 minutes)
MetaWhere & MetaSearch
Episode #251 – Jan 31, 2011 – 65 comments

MetaWhere & MetaSearch

MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options. (8 minutes)
Calendars
Episode #213 – May 10, 2010 – 103 comments

Calendars

If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode. (9 minutes)
Multistep Forms
Episode #217 – Jun 07, 2010 – 92 comments

Multistep Forms

See how to create a multi-step (wizard) form from scratch in this episode. (15 minutes)
SimpleForm
Episode #234 – Oct 04, 2010 – 50 comments

SimpleForm

Simple Form is a convenient way to generate forms with many options to customize the generated markup. (7 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)
Edit Multiple Individually
Episode #198 – Jan 25, 2010 – 67 comments

Edit Multiple Individually

Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields. (13 minutes)
Formtastic Part 1
Episode #184 – Oct 19, 2009 – 78 comments

Formtastic Part 1

Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options. (10 minutes)
Formtastic Part 2
Episode #185 – Oct 26, 2009 – 74 comments

Formtastic Part 2

Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling. (9 minutes)