RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xForms x
Token Fields (revised)
Episode #258May 05, 2012158 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)
Calendars (revised)
Episode #213Aug 10, 2012127 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)
Auto-Complete Association (revised)
Episode #102Nov 10, 201176 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)
Nested Model Form (revised)
Episode #196Apr 19, 2012228 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)
Token Fields
Episode #258Mar 21, 2011118 comments

Token Fields

With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. (11 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)
Wizard Forms with Wicked
Episode #346May 03, 201284 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 Select Menus (revised)
Episode #88Nov 25, 2011112 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)
In-Place Editing
Episode #302Nov 28, 201197 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)
Cropping Images (revised)
Episode #182Dec 02, 201171 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)