On Saturday, April 29, 2017 at 12:14:18 AM UTC-7, dota? =op wrote:
>
> i can do Stuff.association_join(:some_other_stuff), but then i get 
> Stuff. wat i want is to join teh same way, but getting teh 
> SomeOtherStuff. is this possible? 


Assuming you have a reciprocal association defined:

  SomeOtherStuff.association_join(:stuff) 

If not, then maybe:

  Stuff.association_join(:some_other_stuff).
    with_row_proc(SomeOtherStuff).
    select_all(:some_other_stuffs)

Thanks,
Jeremy

-- 
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