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