From 95466365515841733a15b4786c1971c0e99c61c4 Mon Sep 17 00:00:00 2001 From: Deep Sidhu Date: Fri, 20 Dec 2024 14:31:24 -0600 Subject: [PATCH] Attempting to find source of error for authorization exception messages --- app/policies/application_policy.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/policies/application_policy.rb b/app/policies/application_policy.rb index d9a09caa41..6d12236568 100644 --- a/app/policies/application_policy.rb +++ b/app/policies/application_policy.rb @@ -17,10 +17,11 @@ class ApplicationPolicy < ActionPolicy::Base # record.user_id == user.id # end # - attr_accessor :details - def initialize(record = nil, **params) - super - @details ||= {} - end + # attr_accessor :details + + # def initialize(record = nil, **params) + # super + # @details ||= {} + # end end