Hey all been working on my first app that is to help track projects
and who's working on them. I want to be able in the project
controller find employees in the employee controller by project_id,
and then list them on my show defenition.
I thought this would work but ofcourse it doesn't and I can't find any
examples in my google searches.
@project = Project.find(params[:id])
@employees = Employee.find(params[:project_id])
If I change the @employees to Employee.find(:all) it will just list
all employees even if they don't associate with the project.
any help would be teriffic!