Articles on Ruby
7 months ago
How to modify Ruby and Rails apps to use a non-Postgres default database. 11 months ago
Creating, configuring, deploying and scaling Rails 5.x applications on Heroku, using Bundler dependency management. 1 year 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.
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.
3 years ago
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server. 4 years ago
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.
Run rake commands on Heroku with `heroku run rake`.
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.
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.
A PDF storage, search and retrieval application in Ruby that lets users upload and process PDFs (stored in Amazon S3), using a background worker.
Configure and run Delayed Job background workers.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.