Articles on Ruby
10 months ago
How to modify Ruby and Rails apps to use a non-Postgres default database. 1 year ago
This article explains how to configure Bundler.
Creating, configuring, deploying and scaling Rails 5.x applications on Heroku, using Bundler dependency management.
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.
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.
Configuring a database connection in Rails using database.yml and DATABASE_URL.
2 years 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.
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.
3 years ago
Create a pool of worker processes to better maximize the resources of a worker dyno.
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
4 years ago
Quickly deploy static sites on Heroku using Ruby and Rack. 5 years ago
Creating, configuring, deploying and scaling Rails 3.x applications on Heroku, using Bundler dependency management.
Heroku does not support the use of Rack::Sendfile and its use will cause file downloads to fail.
Config.ru settings for deploying Rack-based apps, such as Sinatra, Camping and Ramaze, to Heroku.
Configure and run Delayed Job background workers.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.