May be this would be the first error one might come across after following some tutorials or books.
Here is the quick fix use
render :text => "what ever to print here"
in place of the
render_text "what ever to print here"
It should solve the problem!