Forum: Ruby on Rails does ActiveScaffold support multiple joins? (i.e. in the ":joins => ..." part of a find)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Greg H. (Guest)
on 2009-02-03 13:55
(Received via mailing list)
Hi,

Does ActiveScaffold support multiple joins?  (i.e. in the ":joins =>
..." part of a find).   Can't quite seem to see how to make it work
(e.g. passing an array in for the :joins parameter didn't seem to
work).    If it is possible would you be able to drop in an example?

(that is I'm talking about when you do a find, but make use of the
":joins => 'xxx'" option)

thanks


--
Greg
http://blog.gregnet.org/
Jeff E. (Guest)
on 2009-02-03 22:26
(Received via mailing list)
Read the "Table Aliases" part of

http://api.rubyonrails.org/classes/ActiveRecord/As...



On Feb 3, 6:54 am, Greg H. <removed_email_address@domain.invalid>
Greg H. (Guest)
on 2009-02-03 22:43
(Received via mailing list)
arr, thanks - I needed to symbolise the strings I was using

2009/2/4 jemminger <removed_email_address@domain.invalid>:
>>
>> --
>> Greghttp://blog.gregnet.org/
> >
>



--
Greg
http://blog.gregnet.org/
This topic is locked and can not be replied to.