search for: _host2

Displaying 1 result from an estimated 1 matches for "_host2".

Did you mean: host2
2012 May 21
4
Rendering partial views with ajax calls in rails 3.1
...The template "_host.html.erb" is rendered in div tabs-1, but now i need to add some other partial template to a different id (#tabs-2), but use the same @host How can i do this? by default, render @host will use the template file _host.html.erb. How can i call a different file like "_host2.html.erb" and have the same @host instance available? Thanks, Joao -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To u...