RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: forms x
More on Twitter Bootstrap
Episode #329Feb 28, 2012117 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)
Time Zones (revised)
Episode #106Oct 28, 201293 comments

Time Zones (revised)

Active Support makes it easy to work with time zones. Learn how to add a Time Zone select field to a user form and watch out for the gotchas. (7 minutes)
Autocomplete Search Terms
Episode #399Dec 31, 201290 comments

Autocomplete Search Terms

Learn how to add autocompletion to a search form and improve performance using Rack middleware, caching and switching from SQL to Redis. (17 minutes)
Nested Model Form Part 2
Episode #197Jan 18, 2010215 comments

Nested Model Form Part 2

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery. (12 minutes)
Guest User Record
Episode #393Nov 21, 2012101 comments

Guest User Record

Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards. (9 minutes)
SimpleForm (revised)
Episode #234Mar 03, 201262 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, 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)
Edit Multiple (revised)
Episode #165Feb 25, 2013105 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)
Importing CSV and Excel
Episode #396Dec 08, 2012176 comments

Importing CSV and Excel

Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations. (10 minutes)
Virtual Attributes (revised)
Episode #16Jul 20, 201271 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)