use .development? and .production? helpers (@marcgg)