title: how to change rails to development mode
body: <p>In the documentation of rails (3.2.3) it says   </p>
  
  <blockquote>
    <p>In development mode (which is what you’re working in by default), Rails reloads your application with every browser request, so there’s no need to stop and restart the web server.</p>
  </blockquote>
  
  <p>But clearly my app loads in production mode out of the box.(I can type Rails.env and see it). </p>
  
  <p>Why? </p>
  
  <p>I then go to environment.rb and add  </p>
  
  <pre><code>ENV["RAILS_ENV"] = "development"
  </code></pre>
  
  <p>and still it is in production. 
  Any idea? </p>
  
  <p>Edit : Here you go </p>
  
  <pre><code>#Load the rails application
  require File.expand_path('../application', __FILE__)
  
  # Initialize the rails application
  MyAppName::Application.initialize!
  
  ENV["RAILS_ENV"] = "development"
  </code></pre>