I've been looking everywhere for an answer to this but so far without
I have three models:
has_many :projects, :through => :membership
has_many :employees, :through => :membership
Membership is used to join employees to projects.
In my projects_controller I have a method called
In this function I want to somehow delete the database row in
membership that joins employees t o projects.
I have no idea how to do this and has so far spend two full days
trying to figure this out, but starting to go a bit crazy trying to
figure this one out.
Thanks for your help!!