Craig Demyanovich | 16 May 21:21
Gravatar

Re: Cleanest syntax for form partial?


On Fri, May 16, 2008 at 3:13 PM, Michael Slater <ms@...> wrote:
> <%= render :partial => 'form', :locals => {:f => f} %>
>
> Is there a cleaner way to write this? Something new in Rails 2 maybe?

I don't know of one off hand. What's dirty about that style?

Craig

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane