RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dstjean
How can we extends this solution to query ActiveRecord? Trying to keep the solution DRY.
So I would like to be able to use that logic to List(index) a resource and passing the Authorization parameters to ActiveRecord which would return only the authorized resources.