lib/generators/rambulance/templates/rambulance.rb in rambulance-3.1.0 vs lib/generators/rambulance/templates/rambulance.rb in rambulance-3.2.0

- old
+ new

@@ -13,10 +13,10 @@ # here *in addition* to the default mappings. You can also override the default # mappings although you don't have to in most cases. # If Rambulance receives an exception that is not listed here, it'll render # the internal server error template and return 500 as http status. config.rescue_responses = { - # "ActiveRecord::RecordNotUnique" => :unprocessable_entity, + # "ActiveRecord::RecordNotUnique" => :unprocessable_content, # "CanCan::AccessDenied" => :forbidden, # "Pundit::NotAuthorizedError" => :forbidden, # "YourCustomException" => :not_found }