Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 28, 2012
  1. Fix reporting of middleware errors under Rails 3

    Dwayne Litzenberger authored
    This fixes the issue (airbrake#76) where
    errors occurring in the middleware stack (e.g. in the ActiveRecord session
    store) do not get reported.
    
    In Rails 3, the Airbrake::Rack middleware was being inserted near the end of
    the middleware stack, just before Application.routes.  This change places the
    middleware much earlier in the stack: just after
    ActionDispatch::ShowExceptions.
    
    This makes airbrake's behaviour similar to how it functioned in Rails 2, with
    Airbrake::Rack inserted just after ActionController::Failsafe.
    
    Example middleware stack before:
    
      use Airbrake::UserInformer
      use ActionDispatch::Static
      use Rack::Lock
      use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x1020eb728>
      use Rack::Runtime
      use Rack::MethodOverride
      use ActionDispatch::RequestId
      use Rails::Rack::Logger
      use ActionDispatch::ShowExceptions
      use ActionDispatch::DebugExceptions
      use ActionDispatch::RemoteIp
      use ActionDispatch::Reloader
      use ActionDispatch::Callbacks
      use ActiveRecord::ConnectionAdapters::ConnectionManagement
      use ActiveRecord::QueryCache
      use ActionDispatch::Cookies
      use ActionDispatch::Session::CookieStore
      use ActionDispatch::Flash
      use ActionDispatch::ParamsParser
      use ActionDispatch::Head
      use Rack::ConditionalGet
      use Rack::ETag
      use ActionDispatch::BestStandardsSupport
      use Airbrake::Rack
      run SampleApp::Application.routes
    
    Example middleware stack after:
    
      use Airbrake::UserInformer
      use ActionDispatch::Static
      use Rack::Lock
      use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x10224a3f8>
      use Rack::Runtime
      use Rack::MethodOverride
      use ActionDispatch::RequestId
      use Rails::Rack::Logger
      use ActionDispatch::ShowExceptions
      use Airbrake::Rack
      use ActionDispatch::DebugExceptions
      use ActionDispatch::RemoteIp
      use ActionDispatch::Reloader
      use ActionDispatch::Callbacks
      use ActiveRecord::ConnectionAdapters::ConnectionManagement
      use ActiveRecord::QueryCache
      use ActionDispatch::Cookies
      use ActiveRecord::SessionStore
      use ActionDispatch::Flash
      use ActionDispatch::ParamsParser
      use ActionDispatch::Head
      use Rack::ConditionalGet
      use Rack::ETag
      use ActionDispatch::BestStandardsSupport
      run SampleApp::Application.routes
Commits on Mar 20, 2012
  1. @dvdplm

    Merge pull request #75 from blackhacker/master

    dvdplm authored
    more detailed error message
  2. more detailed error message

    blackhacker authored
Commits on Mar 19, 2012
  1. @dvdplm

    Merge pull request #71 from sgonyea/patch-1

    dvdplm authored
    Document proxy parameters; namely, that the proxy_host does not require "http://" as a prefix. Ideally, config.proxy= could be given a URI.
  2. @dvdplm

    Merge pull request #60 from DaPulse/master

    dvdplm authored
    Fix for issue #58
Commits on Mar 12, 2012
  1. @sgonyea

    Document proxy parameters; namely, that the proxy_host does not requi…

    sgonyea authored
    …re "http://" as a prefix. Ideally, config.proxy= could be given a URI.
Commits on Mar 2, 2012
  1. @shime

    improved readability

    shime authored
  2. @shime

    Merge pull request #63 from benjaminoakes/master

    shime authored
    Use hash argument when filtering
Commits on Mar 1, 2012
  1. @benjaminoakes
  2. @benjaminoakes
  3. @benjaminoakes

    One-liner, per @shime

    benjaminoakes authored
Commits on Feb 27, 2012
  1. @shime

    Merge pull request #62 from sleparc/master

    shime authored
    Removed unnecessary test
  2. @benjaminoakes
  3. @shime

    Merge pull request #59 from benjaminoakes/master

    shime authored
    Filter params on Rails 3.1 when calling notify_airbrake
Commits on Feb 25, 2012
  1. @sleparc
Commits on Feb 24, 2012
  1. @ekampf
  2. @ekampf
Commits on Feb 23, 2012
  1. @benjaminoakes
Commits on Feb 16, 2012
  1. @dvdplm

    Merge pull request #56 from GateGuru/rake_handler_fix

    dvdplm authored
    Modify Rake handler to use Airbrake.notify_or_ignore rather than Airbrak...
  2. @blakewatters
Commits on Feb 13, 2012
  1. @dvdplm

    Works outside Rails

    dvdplm authored
  2. @indirect @dvdplm

    stop using deprecated RAILS_ROOT

    indirect authored dvdplm committed
  3. @dvdplm

    Merge pull request #51 from unnu/master

    dvdplm authored
    tagged logging raising exception in Rails v3.2.1
  4. @unnu
Commits on Jan 26, 2012
  1. @dvdplm

    Merge pull request #33 from cgriego/patch-1

    dvdplm authored
    Fix allowing airbrake_env/TO being different from rails_env/RAILS_ENV in deployment notifications
Commits on Jan 25, 2012
  1. @dvdplm

    Adds `pry` to the gems available in test env

    dvdplm authored
    Removes unused inclusion of the TestMethods in AirbrakeController
    Refactor the setup_http_connection tests for sanity
Commits on Dec 29, 2011
  1. @usiegj00

    Added beta support fer cedar.

    usiegj00 authored
  2. @usiegj00

    Added beta support fer cedar.

    usiegj00 authored
  3. @usiegj00

    Merge pull request #38 from ndbroadbent/ignore_mongoid_notfound

    usiegj00 authored
    Added Mongoid::Errors::DocumentNotFound to default IGNORED exceptions
  4. @usiegj00

    Merge pull request #47 from 21croissants/master

    usiegj00 authored
    Simple README edit explaining how to manually test the airbrake_javascript_notifier in "development" env
  5. @usiegj00

    Merge pull request #46 from eostrom/master

    usiegj00 authored
    Updated Heroku README to use Airbrake's new name.
Commits on Dec 21, 2011
  1. @dvdplm
  2. @dvdplm

    More idiomatic inject

    dvdplm authored
  3. @dvdplm

    Set VERIFY_PEER in rake task

    dvdplm authored
  4. @usiegj00
Something went wrong with that request. Please try again.