Commit 6f3568ef authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Fix rubocop failures

parent 7749eabc
......@@ -57,9 +57,8 @@ module AtomicInternalId
end
define_method("track_#{scope}_#{column}!") do
if !@internal_id_needs_tracking
return unless Feature.enabled?(:iid_always_track, default_enabled: true)
end
iid_always_track = Feature.enabled?(:iid_always_track, default_enabled: true)
return unless @internal_id_needs_tracking || iid_always_track
@internal_id_needs_tracking = false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment