Cuba

Simple Authentication with Cuba, Shield and Mongoid

A tutorial on logging in users safely

Andy Huynh

4 minute read

User authentication should be secure and easy to understand. We’ll create a basic authentication interface using tools built by the boys at Openredis: Cuba, Shield and Mongoid. If you haven’t already, check out Openredis. It’s awesome. Audience Hopefully you’re familiar with a Ruby framework. If not, Cuba is a fantastic gateway framework to understand the way of the web and how Ruby gets us writing expressive and readable code. Tools Cuba: Popular microframeworks like Sinatra and Ramaze will forever have a place in Rubyland.