1 week ago
Ruby Default Web Server
Why not to run WEBrick in production, and how to run a production web server instead.
3 weeks ago
Deploying to A Custom Rails Environment
When and how to use Rails environments and Heroku config vars, when deploying apps.
1 month ago
Distributing Reads to Followers with the Octopus Gem
Configure your application to distribute database reads to a follower, using Heroku Postgres and the Octopus Gem
6 months ago
Using WebSockets on Heroku with Ruby
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
9 months ago
Getting Started with Rails 4.x on Heroku
Creating, configuring, deploying and scaling Rails 4.x applications on Heroku, using Bundler dependency management.
1 year ago
Concurrency and Database Connections in Ruby with ActiveRecord
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
Moving an Existing Rails App to run on JRuby
How to convert an existing Rails project that works on Heroku to run on JRuby.
Creating Static Sites in Ruby with Rack
Quickly deploy static sites on Heroku using Ruby and Rack.
HTTP Caching in Ruby with Rails
Set custom HTTP cache headers on Rails 3 applications to provide the most performant and best possible user experience.
Queuing in Ruby with Redis and Resque
Enqueue background jobs in Ruby with the Redis-backed queuing-library Resque.
2 years ago
Using Rack::Cache with Memcached in Rails 3.1+ (including Rails 4)
Configure a Rails 3.1+, or Rails 4 application to use Rack::Cache to cache public resources in a Rails application with the Dalli client library on Heroku Cedar.
Getting Started with Rails 3.x on Heroku
Creating, configuring, deploying and scaling Rails 3.x applications on Heroku, using Bundler dependency management.
Building a Rails 3 Application with Memcache
Add the MemCachier Add-on to a Rails application to easily cache data with memcache and improve performance.
Adding in-app notifications with Pusher
Constructing a Rails application that uses the Heroku Pusher add-on to subscribe to in-app notifications over a WebSocket.
Deploying Rack-based Apps
Config.ru settings for deploying Rack-based apps, such as Sinatra, Camping and Ramaze, to Heroku.
Processing PDFs with Ruby and MongoDB
A PDF storage, search and retrieval application in Ruby that lets users upload and process PDFs (stored in Amazon S3), using a background worker.
Delayed Job (DJ)
Configure and run Delayed Job background workers.
Getting Started with Ruby on Heroku
Create, configure, deploy and scale a Ruby application on Heroku.
Migrating to the Celadon Cedar Stack
The Cedar runtime is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.
Caching Strategies for Rails
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.