is there a "correct" way with Ring to handle different middleware configurations in different environments?