RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: background xRevised Episodes x
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)
Site-Wide Announcements (revised)
Episode #103Nov 12, 201295 comments

Site-Wide Announcements (revised)

Here I show how to add an announcement message at the top of every page in the application and allow the user to permanently hide it. This is all done test-first and even includes testing the JavaScript behavior. (11 minutes)
Delayed Job (revised)
Episode #171Jan 07, 201262 comments

Delayed Job (revised)

Long requests should be moved into a background process, and Delayed Job is one of the easiest ways to do this because it works with an Active Record database. (8 minutes)
Destroy without JavaScript (revised)
Episode #77Jun 16, 201248 comments

Destroy without JavaScript (revised)

A destroy link in Rails does not work without JavaScript. In this episode I show two techniques for gracefully degrading destroy links: button_to and a delete action. (8 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)
will_paginate (revised)
Episode #51Oct 06, 201146 comments

will_paginate (revised)

Almost every Rails application needs pagination, and will_paginate is a great way to go. Here I show you how to set it up, customize the way it looks, and see how it compares with Kaminari. (6 minutes)