We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
To scope the collection returned in the index action, follow this pattern:
controller do def scoped_collection end_of_association_chain.scoped_by_something end end
for a CanCan example see Enforce CanCan constraints