# Where is this documented?

**URL:** <https://www.ruby-forum.com/t/where-is-this-documented/96489>\
**Category:** Rails\
**Created:** [June 29, 2006, 1:01am UTC](https://www.ruby-forum.com/t/where-is-this-documented/96489 "2006-06-29T01:01:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barry\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/73ab20/32.png) [@Barry\_B](https://www.ruby-forum.com/u/Barry_B)\
**Post date:** [June 29, 2006, 1:01am UTC](https://www.ruby-forum.com/t/where-is-this-documented/96489/1 "2006-06-29T01:01:17Z")

</div>

If I create a controller, and put only one line in it

def do\_it  
render :text =\> “Hello”  
end

in it, then rails doesn’t display the view do\_it.rhtml.

I’m looking for the general rule behind this behavior (including any  
details that I may not be aware of). Where is such behavior documented?

---

<div class="post-metadata">

**Author:** ![Barry\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/73ab20/32.png) [@Barry\_B](https://www.ruby-forum.com/u/Barry_B)\
**Post date:** [June 29, 2006, 1:11am UTC](https://www.ruby-forum.com/t/where-is-this-documented/96489/2 "2006-06-29T01:11:22Z")

</div>

On Wed Jun 28, 2006 at 06:58:16PM -0400, Barry B. wrote:

> If I create a controller, and put only one line in it
> 
> def do\_it  
> render :text =\> “Hello”  
> end
> 
> in it, then rails doesn’t display the view do\_it.rhtml.

yeah, you can only render once per action, afaik…

> I’m looking for the general rule behind this behavior (including any details that I may not be aware of). Where is such behavior documented?

[http://ap.rubyonrails.org/classes/ActionController/Base.html](http://ap.rubyonrails.org/classes/ActionController/Base.html)
