16 May 21:21
Re: Cleanest syntax for form partial?
From: Craig Demyanovich <cdemyanovich@...>
Subject: Re: Cleanest syntax for form partial?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-16 19:21:32 GMT
Subject: Re: Cleanest syntax for form partial?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-16 19:21:32 GMT
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 -~----------~----~----~----~------~----~------~--~---
RSS Feed