Sounds complicated. Multiple nested associations is a very good feature of AS. Can I implement this without overrriding _list.html.erb?
2010/11/2 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>: > On Jueves, 28 de Octubre de 2010 04:42:35 Andrey Voronkov escribió: >> DEPRECATION WARNING: config.nested.add_link with multiple associations >> is not already supported. Remove array. >> >> I think It was the greatest thing in AS to bind multiple associations >> to the one link. > > Because nested links will be changed to list link to the controller. Previous > link: > parent_controller/id/nested?associations=... > Next link: > parent_controller/id/associated_controller > > So you can't use multiple associations with that link schema. Using that > schema render_component won't be needed for nested scaffolds and code is > simpler. Render component is a plugin now because it was removed from rails in > 2.2 or 2.3, it's not maintained, at least actively and I don't know whether it > works in rails 3, so it's good to avoid using it when it's possible. > > You can get nested scaffold with multiple associations with a controller with > custom list view, using embedded scaffolds to show multiple associations. You > will add a link for that controller with config.action_links.add > > -- > 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. > > -- 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.
