Articles on Ruby
6 days ago
Due to how the buildpack release API currently functions, the Ruby buildpack can only add an add-on to an application on the first deploy. By default, the lowest, free Heroku Postgres plan will be added to any Ruby app that 1 month ago
This article explains how to configure Bundler. 3 months ago
Creating, configuring, deploying and scaling Rails 5.x applications on Heroku, using Bundler dependency management. 7 months ago
Understand your application's memory usage
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.
9 months ago
Configuring a database connection in Rails using database.yml and DATABASE_URL. 1 year ago
A step-by-step guide for deploying your first Ruby app and mastering the basics of Heroku
How to add direct S3 uploads to a Rails app.
2 years ago
Why not to run WEBrick in production, and how to run a production web server instead.
When and how to use Rails environments and Heroku config vars, when deploying apps.
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
3 years ago
Upload and process image files to S3 in Ruby using the Paperclip library. 4 years ago
Heroku does not support the use of Rack::Sendfile and its use will cause file downloads to fail.
Constructing a Rails application that uses the Heroku Pusher add-on to subscribe to in-app notifications over a WebSocket.
Config.ru settings for deploying Rack-based apps, such as Sinatra, Camping and Ramaze, to Heroku.
Configure and run Delayed Job background workers.
Create, configure, deploy and scale a Ruby application on Heroku.
The Cedar stack is the most recent stack on Heroku, providing a PaaS supporting multiple languages, flexible process types, HTTP 1.1 and more.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.