multiple embedded active scaffolds

12 views
Skip to first unread message

slava

unread,
Oct 30, 2011, 2:32:38 AM10/30/11
to ActiveScaffold : Ruby on Rails plugin
hello,
I need to embed multiple active scaffolds of the same model in the
same page in different tabs. I read that you can not embed more than
one scaffold for the same model but I need to find a work around.. Any
ideas? Thanks

Atastor

unread,
Nov 15, 2011, 3:32:45 AM11/15/11
to actives...@googlegroups.com
Read again, the relevant text passage under Wikis "Embedded Scaffold" is now:

Restrictions on embedding scaffolds

You can put the same scaffold more than once on a page, but the constraints or conditions must be different so DOM IDs for the two scaffolds are different.

Sergio just recently changed the doc, not sure how old the respective code changes were (just picked it up reading here).

Sergio Cambra .:: entreCables S.L. ::.

unread,
Nov 15, 2011, 7:22:05 AM11/15/11
to actives...@googlegroups.com

I'm not sure when it was changed to work so I didn't add anything about
versions

--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

Reply all
Reply to author
Forward
0 new messages