undefined method `render_text’ – ruby error

undefined method `render_text’ – ruby error

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!
Happy rubying

See how you would solve these known algorithm problems

testing k complementary pairs algorithm with junit

Find longest palindrom from sequence of characters

Find the first occurence of number in the sorted array

Find the pairs that makes K Complementary in the given array java solution

Find K Complementary numbers from array Java implementation

Check if two strings are anagrams or not

find longest word in the sentence

Java solution for checking anagram strings – tell if phrases are anagrams

Finding missing numbers from billion sequential number list file

binary tree problems with solution


Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/10/d419372832/htdocs/gullele/wp-includes/class-wp-comment-query.php on line 399
One Comment
  1. Leon Gibney

    Very good post. I certainly love this website. Keep writing!

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*