i've got Class A with has_many to Class B which has has_one to Class A and a has_many of Class C. is it possible to pass a param to class B so that it knows which record of class A loaded it? i want to use it to specify which records of Class C to load. not sure if thats possible, bit of a mess.
i _think_ that sounds right, yeah - so i have a Question, which has many Answer, and sometimes an Answer will have many ConditionalAnswer, but because an Answer can be used for multiple questions, i only want to load ConditionalAnswer based upon the record of the Question and the Answer.
originally was just loading them in a method in the Question model but thought it might be possible to do this via relationship scopes
yeah problem is Answer is used for multiple Questions and not every Question is going to have that answer with the same conditionals
oh i dunno, i just thought it might be possible with scopes but starting to think it may not be
cnk, fair enough, well that makes me feel ok about it then, i'll stick with that! thanks!