Articles on Ruby
7 months ago
Ruby applications should gracefully shut down when a dyno shuts down, or is restarted. Sensitive operations should be wrapped in an `ensure` clause, though care must be taken to have this clause terminate.
Cedar-14, the successor to the Cedar stack, runs on a newer operating system. Certain versions of Ruby 2.1 are not able to compile on Cedar-14 and they will not be available.
1 year ago
A step-by-step guide for deploying your first Ruby app (using Microsoft Windows) and mastering the basics of Heroku 2 years ago
Configure your application to distribute database reads to a follower, using Heroku Postgres and the Octopus Gem
Create a pool of worker processes to better maximize the resources of a worker dyno.
Creating, configuring, deploying and scaling Rails 4.x applications on Heroku, using Bundler dependency management.
3 years ago
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
How to convert an existing Rails project that works on Heroku to run on JRuby.
Quickly deploy static sites on Heroku using Ruby and Rack.
Upload and process image files to S3 in Ruby using the Paperclip library.
Set custom HTTP cache headers on Rails 3 applications to provide the most performant and best possible user experience.
Enqueue background jobs in Ruby with the Redis-backed queuing-library Resque.
4 years ago
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.
A PDF storage, search and retrieval application in Ruby that lets users upload and process PDFs (stored in Amazon S3), using a background worker.
Build a Ruby application that uses OmniAuth and Devise to authenticate against Force.com using OAuth2.
The Cedar stack is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.