Report question

Question: Rails - How do I check developer mode or production mode in code