method
configure
v3.2.1 -
Show latest stable
-
1 note -
Class: Rails::Railtie::Configurable::ClassMethods
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0
- 3.0.5
- 3.0.7
- 3.0.9
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- What's this?
Register or
log in
to add new notes.
stevo -
November 21, 2011
0 thanks
Custom configuration keys
It is nice to know, that you can store any custom configuration key in configure block⦠E.g.
YourApp::Application.configure do # ... config.my_custom_setting = "QWERTY1234" end
Then you can just access it by calling
YourApp::Application.config.my_custom_setting


