Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

RailsCasts Episode #365: Thread-Safety

Requires Ruby 1.9.2 or higher.

Commands used in this episode

rake middleware
RAILS_ENV=production rake middleware
rails s -e production
repeat 4 (curl http://localhost:3000/foo/bar &)
unicorn -E production -p 3000
rails s puma -e production
Something went wrong with that request. Please try again.