ryanb/cancan — pull request #718 by acesuares (2012-08-12 22:59:09+00:00)
Title: before and after filter give problems in some circumstances

So I added an option in the before_filter for situations where resource_paramas is not a hash... and for the after_filter, it's just a hack.