Screencast Rails 4 Queues Ruby

  • Caike
  • 4400 views
Badge-student

Locked Content

A subscription is required for viewing this video. Enroll now to get full access to all Code School courses and content.

Enroll Now Sign in

Comments

  1. Jeff Powell said

    Interesting look at the new quing capabilities in Rails 4. Thanks for putting this together.

  2. Jean-Philippe Boily said

    Thanks for this screencast!

  3. Asher Cohen said

    I think the source code is missing from the resources

  4. Faculty

    Carlos Souza said

    Thanks, guys! Just added the link to the app to the Resources sections ;)

  5. Shay Dadosh said

    Bravo! Very interesting stuff. Thanks :)

  6. zlippr said

    this is great !!!

  7. Pedro Medeiros said

    loved <3

  8. Theo Mills said

    Can Rails 4 handle multiple queues?

  9. Faculty

    Code School Support said

    Yes, Theo. Rails 4 can handle multiple queues, like so:

    Rails.queue[:payment_queue] = PaymentQueue.new Rails.queue[:email_queue] = EmailQueue.new

  10. Digidentity said

    Has anyone tried to backport this new interface to Rails 3? So we can use the new interface in Rails 3 apps already and worry less about rails upgrades of our code later?

    (I tried Googling for it, but queue is such a generic term that I got too big a variety of search results)

  11. Chris Earls said

  12. Zachary Abresch said

    That's sweet. I didn't even know Rails 4 had a queue capability.

  13. Faculty

    Carlos Souza said

    Good news! Although this feature didn't make the final cut for Rails 4 or 4.1, looks like it will be part of Rails 4.2 as ActiveJob https://github.com/rails/activejob

About This Screencast

Rails 4 introduces a common Queue interface, which aims to provide a standard API for working with background jobs.

Rails 3.x offers different solutions for this, but each one exposes their own custom interface. In this screencast, we will take a look at the reasoning behind Rails 4 Queues and the current state for the API.

You need to be an enrolled student in order to view this video and subscribe.

Enroll Now