Hello all, 

I am using the Class Table Inheritance plugin, and I have a question about 
how to properly use it with #eager_graph. My application tables look like 
this: 

Class Entity 
end

Class Car < Entity 
end

Class Name 
end

Class EntityHasName
FK name_id 
FK entity_id 
end

Name is linked to Entity with a many_through_many relationship. 

My issue is that when I use #eager_graph in the following way, I get an 
ambiguous column error: 
RMS::Car.eager_graph(:entity_has_name).all 

PG complains that the column created_at is ambiguous.

Should I be specifying some dataset options somewhere to prevent this 
error? Could anyone provide an example of how I would pass in those 
options? 

Thanks,  
David

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to