Displaying 1 result from an estimated 1 matches for "field_attribute_instances".
2006 Jul 25
7
Question about Associations and Eager Loading
...eld Instances and Field
Attributes.
I need to get an array that looks like the following:
Fields.FieldInstances.FieldAttributes.FieldAttributeInstances
Right now, I''m doing something like the following:
Field.find(:all, :include => { :field_instances => { :field_attributes =>
{ :field_attribute_instances } } }) which gives me the order I want.
However, I see no way to get field_attribute_instances dependent on BOTH
field_attributes and field_instances (instead of just field_attributes, as
it currently is)
In fact, even if I specify that in the :conditions option, Active Record
will ignore it and...