ryanb/cancan — Issue #561: Have a 'strict' mode for cancan resources
Author: cdussud
Created: 2012-02-18 01:10:34+00:00
State: open

I'd love to have a strict mode where CanCan throws if it tries to match an ability for a nil resource. Whenever I pass a resource to Ability I intend for it to be non-nil. I had an issue where CanCan was simply not authorizing the resource silently and it masked a genuine bug in my application.