Rails General

This is why you’re here, ain’t it? Then don’t forget this, that and the other thing.
You’ve probably been told that Ruby is a language and Rails is a framework, but truly appreciating that distinction takes time. As you progress you will sharpen your interpretation of what makes Rails, Rails. And as you become more aware of how you can leverage Rails to accomplish a given task, you will want to remember how to do it again in the future. This stack is dedicated to capturing these types of Rails framework revelations. Things that might be found in a Rails guide, if you were the author.

To run sidekiq

07/25/18  Public, Rails General

For perform_later

And in a separate tab:

bundle exec sidekiq

To view the local dev page of queues and jobs running, failed, etc., visit:


1 vote - harrylevine

How to look at an older version of the rails API docs

05/07/18  Public, Rails General

You add in /v4.2.1/ into the URL, for the version in question. For example:

Before URL:

After URL:

1 vote - harrylevine

Workflow for upgrading Rails versions

12/25/17  Public, Rails General

First, read through the Rails "A Guide for Upgrading Ruby on Rails".

In general, you can follow the steps in this [Ruby on Rails Upgrade Guide blog post](http://nithinbekal.com/post...

1 vote - harrylevine

Iterate over a .yml file's contents

07/01/17  Public, Rails General, Ruby General

Let's assume that the .yml file (i.e. code_school.yml) is located in this directory:


You'll grab the path to the file, and load its contents:

config = Rails.root + 'config/code_schools.yml'

1 vote - harrylevine