title: Save requests for a certain action
body: <p>I want to save information about requests to a certain action in a model named Impression.</p>
  
  <p>I assume it's benificial for the visitor's response time to save this info in an after_filter, e.g:</p>
  
  <pre><code>after_filter :save_impression
  
  
  private
      def save_impression
          Impression.create!(ip_address: request.remote_ip, controller_name: params[:controller], action_name: params[:action], referer: request.referer)
      end
  </code></pre>
  
  <p>Can this code be optimized or am I doing it right?</p>