Tutorials

Creating a Minimal Sinatra App For Hosting Test Files on Heroku
It’s essential that we test each integration end-to-end. However, all the providers we integrate with require some form of authentication (basic HTTP authentication, API tokens, e.g.). Most of them do not provide sandbox accounts to facilitate tes...





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