On Miércoles, 25 de Noviembre de 2009 16:24:44 [email protected] 
escribió:
> Hi,
>
> as far as I know that s not possible.
> I think you ve got two options:
> 1. Adapt AS to your needs (should nt be too difficult)
> 2. Try something on client side to open the association automatically.

Try overriding the list.html.erb with 
<%= render :super %>
<script type="text/javascript">
        $$('a.action.chapters').each(function(item) {
                item.link.open();
        });
</script>

>
> --
> Volker
>
> On 25 Nov., 09:22, rvhi <[email protected]> wrote:
> > Hi,
> >
> > I have a table of books. Each book has an association
> > "has_many :chapters". Is it possible to have association tables always
> > open?
> >
> > Thanks,
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

--

You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.


Reply via email to