Displaying 1 result from an estimated 1 matches for "askil".
Did you mean:
askin
2006 May 15
0
error HasManyThroughSourceAssociationNotFoundError
...jobs_skills
end
class Location < ActiveRecord::Base
has_many :jobs_locations
has_many :jobs, :through => :jobs_locations
end
now, when i have a job object and do job.locations, it always works
With job.skills, i have an error ?!?
ActiveRecord::HasManyThroughSourceAssociationNotFoundError
askill.jobs works though!
i don t understand why it works perfectly for locations and for
skill.jobsbut not for
job.skills (or actually something like Job.find(:all, :include => :skills,
:conditions ....). ??
if someone would solve it, it would be great. i have nearly finished this
project and am lo...