Skip to content

Commit 5094305

Browse files
author
Sergey Toy
committed
fix rubocop warnings
1 parent b1ac0c4 commit 5094305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/iam/app/models/action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Action < Iam::ApplicationRecord
44
after_commit :update_policy_actions
55

66
def update_policy_actions
7-
User.all.each(&:recalculate_attached_actions)
7+
User.find_each(&:recalculate_attached_actions)
88
end
99
end
1010

0 commit comments

Comments
 (0)