On Apr 6, 2:19 pm, Clive Crous <[email protected]> wrote:
> 2009/4/6 Drunkguy <[email protected]>:
>
> > Here is what I am trying to do:
> > DB[:tickets].join(:solutions, :solution_code => :solution_code).join
> > (:problems, :problem_code => :problem_code)
>
> You probably should try something like this:
>
> DB[:tickets].join( :solutions, :tickets__solution_code =>
> :solutions__solution_code ).join( :problems, :solutions__problem_code
> => :problems__problem_code )

That worked!  Thanks.  I forgot about implicitly declaring the table
name.
--~--~---------~--~----~------------~-------~--~----~
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