Re: probably a very dumb question

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs