Skip to content

Conversation

@bguban
Copy link

@bguban bguban commented Nov 12, 2020

Currently, if you duplicate a record using the dup() function it doesn't copy original attribute values. It leads to a problem that changed attributes are not seen in changes().

@bguban bguban changed the title Copy dry attributes during record.dup() as well. Copy original attributes during record.dup() as well. Nov 12, 2020
@wadetandy
Copy link
Contributor

Looks like a good fix! Would you mind adding a corresponding spec too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants