I have a site in development where I only want specific users to access
specific items that uses belongs_to and has_many.
Say we have this kind of structure.
Person <belongs_to + has_many> Items
When person logged in they only have access to items that belongs to
I’m using auth_generator but only seem to put an auth inside controllers
and dont know how to go any futher.
Any help would be great.