Forum: Ruby on Rails Re: probably a very dumb question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Christoph Lupprich (Guest)
on 2005-12-26 15:18
(Received via mailing list)
> why does <%= render_text "hey ya" %>
> cause 'undefined method `render_text' for
> #<#<Class:0x3851120>:0x3851000>'
> can i use render text in a template?

Try <%= render :text => "hey ya" %> instead.
This topic is locked and can not be replied to.