RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xRevised Episodes x
jQuery & Ajax (revised)
Episode #136Sep 28, 2012146 comments

jQuery & Ajax (revised)

Here I go back to the basics and show how to turn a traditional Rails app into one that interacts through Ajax by adding "remote" options, JavaScript templates and a dabble of jQuery. (14 minutes)
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)
Testing JavaScript with Jasmine (revised)
Episode #261Jun 28, 201266 comments

Testing JavaScript with Jasmine (revised)

The jasminerice gem makes it easy to test your JavaScript with Jasmine in a Rails application. Here I also cover jasmine-jquery and guard-jasmine. (11 minutes)
Sortable Lists (revised)
Episode #147Oct 13, 2011131 comments

Sortable Lists (revised)

Here I show how to use jQuery UI to make a sortable list and a "sort" action to handle the updating. Top it off with acts_as_list to make it feature complete. (6 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)
Polling for Changes (revised)
Episode #229Jan 14, 201392 comments

Polling for Changes (revised)

Polling may not be as common today as pushing changes over an open socket, however it is still an effective, simple solution if you do not need instantaneous updates. (10 minutes)
Charts & Graphs (revised)
Episode #223Sep 15, 2012116 comments

Charts & Graphs (revised)

If you have a lot of data, consider adding a graph to provide an overview of it. Here I show how to use Morris.js to chart an Order model and visualize trends in the data. (12 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)