Class: MongoModel::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/mongomodel/railtie.rb

Class Method Summary collapse

Class Method Details

.rescue_responsesObject


3
4
5
# File 'lib/mongomodel/railtie.rb', line 3

def self.rescue_responses
  { 'MongoModel::DocumentNotFound' => :not_found }
end