Rails - where do I store config values?

ruby-on-rails-3

Solution

Presumably you've read the rails guide for configuring applications? Beyond that, each gem generally provides an initializer/config file, if needed, in a post install generator and documents it in the README.

Problem

Where is the best place for storing configuration values (keys, passwords or just config values) in a Ruby on Rails application? I've searched a lot and didn't find the answer I thought the right one.

Original source