I\'m not sure if my question is worded correctly.
I have three models: User, Item, and UserItem.
User
Item
UserItem
user has_many
Try:
current_user.items.exists?(params[:id])
Or
current_user.items.exists?(@item.id)