Settings – a configuration hash plugin for Rails
Settings is a new plugin for Rails that lets you have a basic hash of 'settings' or configurations for your application without having everything hardcoded. Example:
Settings.admin_password = 'supersecret' Settings.date_format = '%m %d, %Y' Settings.cocktails = ['Martini', 'Screwdriver', 'White Russian'] Settings.foo = 123
June 4, 2006 at 7:30 pm
I've been using this for a while in an application I'm developing. It does exactly what it's supposed to and no more. Just perfect.