It doesn't work me using:
config.columns[:a].includes = [:as]
config.columns[:a].search_sql = "as.name"
I get the next message: Association named 'as' was not found; perhaps
you misspelled it?
Please, Someone can help me?
On May 29, 4:59 pm, "mari...@gmail.com" <mari...@gmail.com>
I'm trying to do that but I think that It can't be done.
On May 28, 10:48 am, "Lisa...@gmail.com" <Lisa...@gmail.com>
Yes, I have tried It but doesn't work.
I get the next error:
"Association named 'a' was not found; perhaps you misspelled it?"
the relation is:
A has many B
B has many C
On May 25, 4:35 pm, "Tim Harper" <timc...@gmail.com> wrote:
See the "includes" section of the documentationherehttp://activescaffold.com/docs/api-column
[mailto:acti...@googlegroups.com] On Behalf Of Lisa...@gmail.com
Sent: Friday, May 25, 2007 5:18 AM
To: ActiveScaffold : Ruby on Rails plugin
Subject: search_sql question
If I have a model A that has many models B and B has many models C,
It's posible in the table of model C search content that is in the
I use config.columns[:a].search_sql = 'a.name' but this doesn't work
because it only does a LEFT OUTER JOIN between the tables Bs and Cs
and I need a join whith the table A.
How Can I do that?