title: Rails 3 - Ideal way to set title of pages
body: <p>Whats the proper way to set the page title in rails 3. Currently I'm doing the following:</p>
  
  <p>app/views/layouts/application.html:</p>
  
  <pre><code>&lt;head&gt;
    &lt;title&gt;&lt;%= render_title %&gt;&lt;/title&gt;
    &lt;%= csrf_meta_tag %&gt;
  </code></pre>
  
  <p>app/helpers/application_helper.rb:</p>
  
  <pre><code>def render_title
    return @title if defined?(@title)
    "Generic Page Title"
  end
  </code></pre>
  
  <p>app/controllers/some_controller.rb:</p>
  
  <pre><code>def show
    @title = "some custom page title"
  end
  </code></pre>
  
  <p>Is there another/better way of doing the above?</p>