A simple Google search will reveal that there are a number of different App_Config plugins for Rails. After comparing them side by side, I have decided to use the one by Christopher J. Bottaro.
It features:
- simple YAML config files
- config files support ERB
- config files support inheritance
- access config information via convenient object member notation
I just fixed a bug last night (which was pulled in to the main repository) where it could throw errors when used as a Rails plugin (i.e. via rails plugin install
).
Make sure you go read the instructions on how to use this handy plugin.
Enjoy what you are reading? Sign up for a better experience on Persumi.