# Does ActiveScaffold support multiple joins? (i.e. in the ":joins =\> ..." part of a find)

**URL:** <https://www.ruby-forum.com/t/does-activescaffold-support-multiple-joins-i-e-in-the-joins-part-of-a-find/159318>\
**Category:** Rails\
**Created:** [February 3, 2009, 12:55pm UTC](https://www.ruby-forum.com/t/does-activescaffold-support-multiple-joins-i-e-in-the-joins-part-of-a-find/159318 "2009-02-03T12:55:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 3, 2009, 12:55pm UTC](https://www.ruby-forum.com/t/does-activescaffold-support-multiple-joins-i-e-in-the-joins-part-of-a-find/159318/1 "2009-02-03T12:55:08Z")

</div>

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/](http://blog.gregnet.org/)

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 3, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/does-activescaffold-support-multiple-joins-i-e-in-the-joins-part-of-a-find/159318/2 "2009-02-03T21:26:47Z")

</div>

Read the “Table Aliases” part of

> **[ActiveRecord::Associations::ClassMethods](https://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html)**
>
> Associations are a set of macro-like class methods for tying objects together through foreign keys.

On Feb 3, 6:54 am, Greg H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 3, 2009, 9:43pm UTC](https://www.ruby-forum.com/t/does-activescaffold-support-multiple-joins-i-e-in-the-joins-part-of-a-find/159318/3 "2009-02-03T21:43:52Z")

</div>

arr, thanks - I needed to symbolise the strings I was using

2009/2/4 jemminger [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > –  
> > Greghttp://blog.gregnet.org/

–  
Greg  
[http://blog.gregnet.org/](http://blog.gregnet.org/)
