title: Environment-specific routing in Rails 3
body: <p>I'd like to create a scope in my routes.rb file to only route certain URLs when in the production environment. How do you use conditionals with Rails 3 routing? All I need to do is restrict those rules based on <code>Rails.env.production?</code> being true, but I'm not sure of the syntax.</p>