On 20 October 2010 01:22, James Byrne <[email protected]> wrote: > James Byrne wrote in post #955611: > >> >> It appears that the partials are being called but that the model object >> is not being passed. > > I discover here ( > http://darwinweb.net/articles/getting-up-to-speed-with-rails-3 ) that > the :object => syntax is no longer supported. I suppose that I will > eventually discover the current usage.
You can use :locals It still shows :object in the rails 3 guide, http://guides.rubyonrails.org/layouts_and_rendering.html#using-partials, section 3.4.4. It does not appear in http://api.rubyonrails.org/classes/ActionView/Partials.html however. Is it the guide that is out of date? Colin -- 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 [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-talk?hl=en.

