rails-config

Rails configuration in the proper way

Usually Rails application has multiple environments – production, development, test and staging; and quite often application behaves differently in each environment. Rails provides a simple way to inspect current environment:

But abusing Rails.env for adjusting application behaviour leads to Continue