title: Conditional statement to check Rails environment
body: <p>I have two environments on my rails app: development and production.</p>
  
  <p>I would like to add a conditional statement to a specific controller to check which environment the app is running in order to behave differently.</p>
  
  <p>How can I do this? many thanks in advance.</p>