# Many renders in one view?

**URL:** <https://www.ruby-forum.com/t/many-renders-in-one-view/78448>\
**Category:** Rails\
**Created:** [March 8, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/many-renders-in-one-view/78448 "2006-03-08T15:12:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![g0nzo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Post date:** [March 8, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/many-renders-in-one-view/78448/1 "2006-03-08T15:12:09Z")

</div>

Hi!

This was probably asked many times, but i can’t find it anywhere.

How to render in my view many actions (sometimes from different  
controllers)?  
So i.e. I will have user status/login form at the top, form for  
creating/editing some data on the left and a list of these data elements  
on the right and some other things at the bottom?

Can i put some of this stuff to the layout? So i will always have login  
form or, if user is logged in, his status at the top?

---

<div class="post-metadata">

**Author:** ![g0nzo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Post date:** [March 8, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/many-renders-in-one-view/78448/2 "2006-03-08T17:33:22Z")

</div>

You can use render\_component() for stuff like that.

---

<div class="post-metadata">

**Author:** ![g0nzo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Post date:** [March 8, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/many-renders-in-one-view/78448/3 "2006-03-08T18:03:07Z")

</div>

Thanks!!!

There are so many ~render methods, that i feel a bit overwhelmed 🙂

---

<div class="post-metadata">

**Author:** ![g0nzo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Post date:** [March 8, 2006, 7:02pm UTC](https://www.ruby-forum.com/t/many-renders-in-one-view/78448/4 "2006-03-08T19:02:38Z")

</div>

I’m sure you’re not the only one, I also needed to look it up in the  
rails  
book first.  
But now that I’m also aware of it, I might use it in an application I’m  
currently building.
