Tutorials
Improve your Ruby application's memory usage and performance with jemalloc
Ruby applications usually have a fairly large memory footprint, which can increase steadily, even if the garbage collector comes into action. Your application may consume 150MB of memory at initial launch, but will likely rise quickly beyond 300MB.
How To Deploy a Rails App with Unicorn and Nginx on Ubuntu 14.04
When you are ready to deploy your Ruby on Rails application, there are many valid setups to consider. This tutorial will help you deploy the production environment of your Ruby on Rails application, with PostgreSQL as the database, using Unicorn a...
Deploy Ruby On Rails on Ubuntu 16.04 Xenial Xerus
Since we setup Ubuntu for our development environment, we also want to use it in production. This keeps your application running consistently between development and production. We're using an LTS version of Ubuntu in production because it is supp...
Action Cable ‘Hello World’ with Rails 5.1 – Ruby Inside
Most people have seen examples of Action Cable chat applications. I find them too big for a quick introduction to the idea of Action Cable. For my new “Learn Rails 5.1” book I created a smaller, easier to replicate and to understand example where ...