Articles on Ruby
11 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.
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.
Configuring a database connection in Rails using database.yml and DATABASE_URL.
2 years ago
How to add direct S3 uploads to a Rails app. 3 years ago
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.
4 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.
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.
5 years ago
Run rake commands on Heroku with `heroku run rake`.
Creating, configuring, deploying and scaling Rails 3.x applications on Heroku, using Bundler dependency management.
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.