Class: Rails::Couchbase::Railtie

Inherits:
Railtie
  • Object
show all
Defined in:
lib/couchbase/railtie.rb,
/code/couchbase-ruby-client/lib/couchbase/railtie.rb

Class Method Summary collapse

Class Method Details

.rescue_responsesObject



24
25
26
27
28
# File 'lib/couchbase/railtie.rb', line 24

def self.rescue_responses
  {
    "Couchbase::Error::DocumentNotFound" => :not_found,
  }
end