title: Rails - How do I check developer mode or production mode in code
body: <p>I am doing a project in rails, I would like to know How do I check whether I am running in developer mode  or  production mode in code ?</p>
  
  <p>Thanks</p>