title: how to add the home page as a root in rails version 2.3.14?
body: <p>I am new to the rails programming. </p>
  
  <p>I had a one problem to building a first rails application in rails version 2.3.14.
  The problem is , I am not able to add the root in the config/routes.rb file.</p>
  
  <p>I was created the home and about pages. I am trying to add the home page as a root. For that I was added the below line in the routes.rb file. </p>
  
  <pre><code>root 'pages#home'
  </code></pre>
  
  <p>But it gives error. The error is,</p>
  
  <pre><code>undefined method `root' for main:Object (NoMethodError)
  </code></pre>
  
  <p>It says the root is a undefined method. So, What method is used to add the home page as a root in rails version 2.3.14.</p>