Posts tagged with "Rails"

Faster Rails Development with Vagrant

RailsTipsVagrant

Vagrant is an excellent tool for Rails development - you do not need to worry about installing dependencies, damaging your local workstation, or disparity between different machines and operating systems. You can quickly scale the size and shape of the virtual...

Authorizers, Extractors, and Policy objects

DIYRailsRubyTutorial

Recently I was working on a Rails 4 project, and much to my surprise, my favorite authorization framework is not supported! CanCan had long been my "go-to" framework for its simplicty and readability. I started searching the Internet for alternative gems, but ...

A new way to cancan

Inspired by one of my student's code, I recently adopted a new way to define authorization with cancan. Often times, it can be very cumbersome to keep track of all the different resources and roles inside an application. Imagine a hypothetical application ...