Hi Giorgio I you check out the Rails documentation for render (http:// api.rubyonrails.com/classes/ActionController/Base.html#M000848), in the section on Rendering partials, the fifth example shows how to do this with a collection. You are not limited to this approach for collections and can do this with any render of a partial. For example...
render :partial => 'shared/contact', :object => contact Cheers. --Brent On Jul 9, 9:07 pm, "Giorgio Clavelli" <[EMAIL PROTECTED]> wrote: > Hi > > I was wandering how a partial could be made available to other views > and will appreciate if you can give some hint. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
