Articles on Ruby
5 months ago
How to modify Ruby and Rails apps to use a non-Postgres default database. 8 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.
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.
A step-by-step guide for deploying your first Ruby app (using Microsoft Windows) and mastering the basics of Heroku
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.
Configure your application to distribute database reads to a follower, using Heroku Postgres and the Octopus Gem
A tutorial showing how to build and deploy a Ruby Sinatra application application that uses a WebSocket.
3 years ago
Configuring database connections in the Active Record connection pool for apps running with a multi-threaded or multi-process web server.
Quickly deploy static sites on Heroku using Ruby and Rack.
Upload and process image files to S3 in Ruby using the Paperclip library.
4 years ago
Enqueue background jobs in Ruby with the Redis-backed queuing-library Resque.
Run rake commands on Heroku with `heroku run rake`.
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.
Build a Ruby application that uses OmniAuth and Devise to authenticate against Force.com using OAuth2.
Page, action, fragment and low level caching considerations when building Rails applications on Heroku.