rubyguides

Tutorial series

Rails Intermediate

5 tutorials — follow in order for the best learning path.

  1. Rails Middleware: Request and Response Stack

    Understanding Rails middleware helps you inspect the request stack, build custom middleware, and decide when to use it for request and response processing.

  2. ActiveJob and Sidekiq: background jobs in Rails

    Learn ActiveJob and Sidekiq in Rails: create background jobs, configure queues, monitor workers, handle retries, and keep web requests fast with Redis.

  3. ActionCable WebSockets in Rails

    Learn ActionCable WebSockets in Rails, from setup and channels to broadcasting, authorization, testing, and production tips.

  4. Building APIs with Rails API Mode

    Learn how building APIs with Rails API Mode creates lightweight, focused JSON backends. Covers API-only apps, serializers, authentication, error handling,.

  5. Rails Concerns and Service Objects

    Learn how to use Rails Concerns for modularizing models and Service Objects for organizing business logic in Rails applications.