Tutorials


Slim down hefty Rails controllers AND models, using domain model events (video and guide)
If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with HTTP-centric responsibilities, such as websoc...

Makers Academy’s Alexa Series: How to Implement Sessions in an Alexa Skill in Ruby
If we leave it open, the user has eight seconds to respond and continue the conversation. If there is no reply after eight seconds, Alexa will provide a reprompt (defined by us) and wait for another eight seconds before closing the session herself...

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...
