Skip to content

Commit fefa57c

Browse files
committed
Removed unneeded code
1 parent f9cd578 commit fefa57c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/lockbox/model.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,6 @@ def inspect
114114
k = lockbox_encrypted_attributes[k]
115115
elsif values.key?(k)
116116
v = respond_to?(:attribute_for_inspect) ? attribute_for_inspect(k) : values[k].inspect
117-
118-
# fix for https://github.com/rails/rails/issues/40725
119-
# TODO only apply to Active Record 6.0
120-
if respond_to?(:inspection_filter, true) && v != "nil"
121-
v = inspection_filter.filter_param(k, v)
122-
end
123117
else
124118
next
125119
end

0 commit comments

Comments
 (0)