RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xViews x
Wizard Forms with Wicked
Episode #346 – May 03, 2012 – 84 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 #88 – Nov 25, 2011 – 112 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 #324 – Feb 13, 2012 – 77 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 #302 – Nov 28, 2011 – 97 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 #295 – Oct 31, 2011 – 55 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 #174 – Aug 10, 2009 – 91 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 #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)
Unobtrusive Javascript
Episode #205 – Mar 15, 2010 – 84 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 #199 – Feb 01, 2010 – 89 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 #178 – Sep 07, 2009 – 64 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)