Your code will does this job. Is your problem some thing like: you have a.rhtml file int that you have to show _b.rhtml file contents as well as _c.rhtml contents?
Then write your code like this: == This is a.rhtml file <%= render :partial=>'b'%> <%= render :partial=>'c' %> On Wed, Dec 31, 2008 at 4:37 PM, Zhao Yi <[email protected]>wrote: > > Ryan Bigg wrote: > > Render the other partial inside that partial. > > ----- > > Ryan Bigg > > Freelancer > > http://frozenplague.net > Sorry, I am confused. > > This piece of code is my case: > > <tr> > <td>Version:</td> > <td id="project_version"> > <%= render :partial=>'project_version'%> > </td> > </tr> > > <tr> > <td>View Name:</td> > <td id="view_name"><%= render(:partial=>'view_name') %></td> > </tr> > > You want me to render "view_name" inside "project_version", how can I do > this in _project_version.html.erb? > -- > Posted via http://www.ruby-forum.com/. > > > > -- Ramu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

