Have a 'strict' mode for cancan resources #561

cdussud opened this Issue Feb 18, 2012 · 2 comments


None yet
3 participants

cdussud commented Feb 18, 2012

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.

@cdussud Is this still an issue?

mzahir commented Oct 24, 2013

@cdussud if this is no longer an issue, can we get this closed?

cdussud closed this Jun 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment