Articles on Ruby
3 weeks 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 2 months ago
This article explains how to configure Bundler. 4 months ago
Creating, configuring, deploying and scaling Rails 5.x applications on Heroku, using Bundler dependency management. 8 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.
10 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
Set custom HTTP cache headers on Rails 3 applications to provide the most performant and best possible user experience. 4 years ago
Run rake commands on Heroku with `heroku run rake`.
Add the MemCachier Add-on to a Rails application to easily cache data with memcache and improve performance.
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.
Build a Ruby application that uses OmniAuth and Devise to authenticate against Force.com using OAuth2.
Configure and run Delayed Job background workers.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.