Tutorials




Using Rails Session Cookies for API Authentication
No part of the web app is rendered by Rails. The Rails app is strictly a JSON API. And the web app is a standalone bundle of HTML, CSS, and JavaScript.Given that the API has protected resources that require authentication, I had a decision to make...




Optimize Dokku Deployment Speed for Ruby on Rails with Dockerfile
Dokku lets you setup Rails hosting infrastructure on a simple VPS without much dev ops experience. Although it is easy to get started, a default config might result in very slow and unreliable deployments. In this blog post, I will describe how I'...