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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0e4306297911fa8e554fd816c06506ed?d=identicon&s=25 Christoph Lupprich (Guest)
on 2005-12-26 14: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.