title: Where/How to code Constants in Rails 3 Application
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4110866/ruby-on-rails-where-to-define-global-constants">Ruby on Rails: Where to define global constants?</a>  </p>
  </blockquote>
  
  
  
  <p>I am interested in doing this the "Rails Way" on a new application. I would also like to refer to constants in some sort of context to make the code more readable. I have an application where a user can request access to another users's data set.  This AccessRequest can have one of the following statuses:</p>
  
  <p>Review
  Denied
  Approved</p>
  
  <p>I can see these values being used in reporting features in the future, so I want to make them constants in order to avoid any spelling or capitalization issues.  I thought I would just put these in a constants.rb file in the config/initializers directory.</p>
  
  <p>I would like to refer to these as AccessRequest::REVIEW. Since I already have a model called AccessRequest, does it make sense to put them there? Or wrap them in a class in a constants.rb file in the config/initializers directory? Which way is the Rails Way?</p>