title: Constant Global object on a Ruby on Rails server
body: <p>Working with Rails 3.2.1 and Ruby 1.9.3, where is the proper place to initialize a Global constant object such that it is only initialized once when the rails server is started. </p>
  
  <p>Right now I am declaring it as instance object as and it is initialized every time the method is called: </p>
  
  <pre><code>@object_wanted_to_be_global_const = Gemname::GemnameClass.new 'input'
  </code></pre>
  
  <p>Where is the best place to declare this as a global constant variable?</p>
  
  <p>If declared as a global instead of an instance, how will this affect performance as the variable is accessed on almost every request?</p>