I have something like this:

ds = MyModel.eager_graph(:foo, :bar).filter(:my_model_id => 510620)

which results in:

Sequel::DatabaseError: Mysql::Error Column 'my_model_id' in where
clause is ambiguous

It looks like the :bar association is the cause, since it's a
many_to_many through a join table that has a my_model_id column.  How
do I get around this?

--Colin Steele
[email protected]



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to