Re: probably a very dumb question

why does <%= render_text “hey ya” %>

cause ‘undefined method `render_text’ for

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