title: What's the best way to store global application settings in a Rails application?
body: <p>I want to handle two kinds of global configuration settings:</p>
  
  <ul>
  <li>Settings which can be altered by the user, like if notification mails for certain events are sent or not.</li>
  <li>Settings which are tied to a specific product edition, like disabling a feature in a free version, which is only available in the commercial version. </li>
  </ul>
  
  <p>What's the best way to store these settings? Database, configuration file, hardcoded in the source, ...?</p>