How would I generate the equivalent to this SQL? SELECT * FROM transactions t, users u, resources r WHERE u.id = t.user_id AND r.id = t.resource_id;
I tried this but the second join_table refers to the first joined table not the original. DB[:transactions].join_table(:inner, :users, :id => :user_id).join_table(:inner, :resources, :id => :resource_id).sql Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
