RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: background x
Sidekiq
Episode #366 – Jul 18, 2012 – 80 comments

Sidekiq

Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque. (10 minutes)
Facebook Open Graph
Episode #363 – Jul 02, 2012 – 60 comments

Facebook Open Graph

This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process. (11 minutes)
Calendars (revised)
Episode #213 – Aug 10, 2012 – 127 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)
Queue Classic
Episode #344 – Apr 24, 2012 – 69 comments

Queue Classic

PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. (8 minutes)
Site-Wide Announcements (revised)
Episode #103 – Nov 12, 2012 – 95 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 #171 – Jan 07, 2012 – 62 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)
Rake in Background
Episode #127 – Sep 15, 2008 – 62 comments

Rake in Background

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode. (10 minutes)
Spork
Episode #285 – Sep 26, 2011 – 76 comments

Spork

Spork improves the loading time of your test suite by starting up your Rails application once in the background. Use it with Guard for the ultimate combo in fast feedback while doing TDD. (9 minutes)
Resque
Episode #271 – Jun 20, 2011 – 81 comments

Resque

Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues. (12 minutes)
Destroy without JavaScript (revised)
Episode #77 – Jun 16, 2012 – 48 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)