A user seeks help on finding and editing hidden settings, specifically ENV variables, in Discourse. Simon explains that hidden site settings like max_category_nesting can be edited via the Rails console. The user follows the instructions to access the console via SSH and rails c, successfully updating the setting. After a reboot, they encounter a 403 error but resolve it by assigning a position in the settings, resulting in a successful outcome. The user expresses gratitude and asks for resources to learn more about Rails options, noting the console’s limitations and curiosity about tools like Pry.
Hidden site settings can be set from your site’s Rails console. If you enter the Rails console and enter SiteSetting.max_category_nesting, the setting’s current value should be returned. Assuming that you want to update its value to 3, you can do that with the following command: