Articles on Ruby
4 months ago
Don't use the Asset Sync gem. Instead, use a CDN.
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.
6 months ago
Configuring a database connection in Rails using database.yml and DATABASE_URL. 9 months ago
A step-by-step guide for deploying your first Ruby app (using Microsoft Windows) and mastering the basics of Heroku 1 year ago
Configure your application to distribute database reads to a follower, using Heroku Postgres and the Octopus Gem 2 years ago
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
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.
Constructing a Rails application that uses the Heroku Pusher add-on to subscribe to in-app notifications over a WebSocket.
A PDF storage, search and retrieval application in Ruby that lets users upload and process PDFs (stored in Amazon S3), using a background worker.
The Cedar stack is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.