You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alexander Popov edited this page Feb 9, 2021
·
1 revision
Application config available by config method, class or instance, from application and controller.
Config object is like a Hash, but with enhancements.
Root directory of application available by config[:root_dir].
There are also :public_dir, :views_dir, :config_dir and others available.
Config options may be proc and will be called automatically on access: