Prefer using constants directly, instead of converting the strings.
This makes navigation and refactoring easier, and will also catch typos and other simple errors. We're calling `#constantize` on the strings anyhow, so this change is effectively identical in actual usage.
Please register or sign in to comment