chore: Upgrade rails and ruby versions (#2400)

ruby version: 3.0.2
rails version: 6.1.4
This commit is contained in:
Sojan Jose 2021-08-03 20:11:52 +05:30 committed by GitHub
parent 7e960b7c72
commit ab54d9c629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 498 additions and 626 deletions

View file

@ -16,7 +16,7 @@ class ApplicationController < ActionController::Base
def handle_with_exception
yield
rescue ActiveRecord::RecordNotFound => e
Raven.capture_exception(e)
Sentry.capture_exception(e)
render_not_found_error('Resource could not be found')
rescue Pundit::NotAuthorizedError
render_unauthorized('You are not authorized to do this action')