We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ac0c4 commit 5094305Copy full SHA for 5094305
services/iam/app/models/action.rb
@@ -4,7 +4,7 @@ class Action < Iam::ApplicationRecord
4
after_commit :update_policy_actions
5
6
def update_policy_actions
7
- User.all.each(&:recalculate_attached_actions)
+ User.find_each(&:recalculate_attached_actions)
8
end
9
10
0 commit comments