Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Forms x
More on Twitter Bootstrap
Episode #329Feb 28, 201276 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)
Form Builders
Episode #311Dec 26, 201115 comments

Form Builders

Forms often follow a similar pattern with a lot of repetition. Learn how to clean up form views and remove duplication with the help of form builders. (12 minutes)
HABTM Checkboxes (revised)
Episode #17Dec 22, 201156 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)
OmniAuth Identity
Episode #304Dec 05, 201155 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)
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)
In-Place Editing
Episode #302Nov 28, 201160 comments

In-Place Editing

Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. (8 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, 201149 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)
Client Side Validations
Episode #263Apr 25, 201156 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)