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.
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.
Cheers,