RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xViews x
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)
Passing Data to JavaScript
Episode #324Feb 13, 201277 comments

Passing Data to JavaScript

There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. (6 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)
Sharing Mustache Templates
Episode #295Oct 31, 201155 comments

Sharing Mustache Templates

Mustache is a simple, logic-less templating language which allows you to use the same template for both Ruby and JavaScript. See how to set it up with a custom template handler in this episode. (17 minutes)
Pagination with AJAX
Episode #174Aug 10, 200991 comments

Pagination with AJAX

Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. (13 minutes)
Calendars
Episode #213May 10, 2010103 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)
Unobtrusive Javascript
Episode #205Mar 15, 201084 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
Mobile Devices
Episode #199Feb 01, 201089 comments

Mobile Devices

Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface. (13 minutes)
7 Security Tips
Episode #178Sep 07, 200964 comments

7 Security Tips

Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection. (14 minutes)