Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
yebityon committed Dec 2, 2023
1 parent 41f81c8 commit f9a3f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/composite_primary_keys/nested_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def assign_nested_attributes_for_collection_association(association_name, attrib
# Make sure we are operating on the actual object which is in the association's
# proxy_target array (either by finding it, or adding it if not found)
# Take into account that the proxy_target may have changed due to callbacks
target_record = cpk_detect_record(attributes['id'], association.target)
target_record = cpk_detect_record(attributes['id'], association.target)
if target_record
existing_record = target_record
else
Expand Down

0 comments on commit f9a3f80

Please sign in to comment.