Displaying 1 result from an estimated 1 matches for "jobs_skills".
2006 May 15
0
error HasManyThroughSourceAssociationNotFoundError
hi there,
i have a problem with my code. it might be trivial but couldn t solve it or
find it on google:
class Job < ActiveRecord::Base
has_many :jobs_locations
has_many :locations, :through => :jobs_locations
has_many :jobs_skills
has_many :skills, :through => :jobs_skills
end
class Skill < ActiveRecord::Base
has_many :jobs_skills,
has_many :jobs, :through => :jobs_skills
end
class Location < ActiveRecord::Base
has_many :jobs_locations
has_many :jobs, :through => :jobs_locations
end
now, when i have a j...