I have a relationship model that tracks customers (users) of shops in a has_many :through
association. I\'m having trouble with my ShopsController
... for a given shop ...
This suggests that you should be finding an instance of Shop, and from it using associations to retrieve the appropriate Users. I'd expect to see this in a shop-oriented view, not a relationship view, and for there to be an association on Shop of:
has_many :users, through => :relationships