I am currently learning Rails Guides. I went through the steps but still encountered a mistake.
My Ruby version is ruby 2.1.1p76 and the Rails version is
ruby 2.1.1p76
You may want to read through the following documentation.
Rendering pure text is most useful when you're responding to Ajax or web service requests that are expecting something other than proper HTML.