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?
On Wed Jun 28, 2006 at 06:58:16PM -0400, Barry Burd 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