title: Unintialized constant Airbrake
body: <p>I'm trying to catch a specific exception and then log it to errbit manually and then show an error message to the user and redirect them.</p>
  
  <p>With the code below in my model, I can the error </p>
  
  <pre><code># Causes uninitialized constant Issue::Airbrake
  </code></pre>
  
  <p>How can I manually log an error to errbit? I'm using the Airbrake gem version 4.0.0</p>
  
  <pre><code>class Issue &lt; ActiveRecord::Base
    after_create :send_email
  
    def send_email
      begin
      raise StandardError
      rescue StandardError =&gt; e
        # Log error in errbit manually
        Airbrake.notify(e)  # Causes uninitialized constant Issue::Airbrake
      end
    end
  </code></pre>