Articles on Ruby
2 months ago
Understand your application's memory usage
Don't use the Asset Sync gem. Instead, use a CDN.
When Heroku is going to spin down a dyno (for a restart or a new deploy, etc.) first it sends SIGTERM signal to the process. This is Unix for "shut down gracefully". Ruby understands this and sends a `SignalException` to
6 months ago
A step-by-step guide for deploying your first Ruby app (using Microsoft Windows) and mastering the basics of Heroku 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.
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.
2 years ago
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
3 years ago
Set custom HTTP cache headers on Rails 3 applications to provide the most performant and best possible user experience.
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.
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.
A PDF storage, search and retrieval application in Ruby that lets users upload and process PDFs (stored in Amazon S3), using a background worker.
Build a Ruby application that uses OmniAuth and Devise to authenticate against Force.com using OAuth2.
Configure and run Delayed Job background workers.
Create, configure, deploy and scale a Ruby application on Heroku.