title: Is it acceptable practice to add methods to the Rails::Application subclass?
body: <p>I was thinking about being able to add an "application name" method to my Rails::Application subclass, since the method that I had originally added to a helper for ApplicationController is no longer visible to my ActionMailer.</p>
  
  <pre><code>ActionView::Template::Error: undefined local variable or method `app_name' for #&lt;#&lt;Class:0x44aba18&gt;:0x449b8f0&gt;
  </code></pre>
  
  <p>I haven't seen any reference to doing this in the standard rails tutorials, and a few Google queries don't indicate best or even acceptable practice.</p>
  
  <p>I'd rather not have to hard code a lot of global application settings that may be of value in the mailer templates.</p>