Skip to content

Commit

Permalink
Double assignment of attributes on a collection association occurs fi…
Browse files Browse the repository at this point in the history
…xed for the issue issue #1467
  • Loading branch information
rdoddaka committed Jun 3, 2011
1 parent f064664 commit 7ef2f6f
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -436,7 +436,6 @@ def create_scope
def build_record(attributes, options)
record = reflection.build_association(attributes, options)
record.assign_attributes(create_scope.except(*record.changed), :without_protection => true)
record.assign_attributes(attributes, options)
record
end

Expand Down

0 comments on commit 7ef2f6f

Please sign in to comment.