18 May 01:38
Re: Cleanest syntax for form partial?
From: Nathan Esquenazi <rails-mailing-list@...>
Subject: Re: Cleanest syntax for form partial?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 23:38:57 GMT
Subject: Re: Cleanest syntax for form partial?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 23:38:57 GMT
Check this out: http://www.railsjedi.com/posts/22-Better-Partials-Plugin-for-Ruby-on-Rails Turns this: <%= render :partial => 'form', :locals => {:f => f} %> into: <%= partial "form", :f => f %> -- -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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