Would it make more sense to coerce environment to a symbol? Then you wouldn't need to `.to_sym` when you check if the feature's enabled.