What about... <%= f.render :partial => 'form' %>
? And it would still perhaps allow all the usual render params to be passed to it. I'm just thinking of this quickly, haven't thought about it too too much. :) On 9/25/07, Frederick Cheung <[EMAIL PROTECTED]> wrote: > > > On 25 Sep 2007, at 21:51, Andrew Kaspick wrote: > > > > I like the idea of taking the partial name as the local name... that's > > how things like the :collection partial works already. > > > > Seems like this one has the people's vote. The one think holding me > back would be that this conflicts with the current behaviour of > partial (ie the object/collection with the write name materialising). > It would be pretty weird to have objects called @something_form, but > what if you did want to build up a form by iterating over some > collection ? > > Fred > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
