Skip to content

Conversation

@brenes
Copy link
Member

@brenes brenes commented Oct 5, 2016

This should solve the issue with trying to duplicate (with :dup) an ActiveRecord / ActiveResource field that is nil

brenes added 9 commits October 4, 2016 17:28
…even when empty

We also test that when you duplicate an empty multiple field you get another empty multiple field
This way we avoid connectionsto an unexisting API
…ecord

Beware! In this commit I overwrite behaviour introduced by @enoliglesias in d8214e6 relying more in the super behaviour and only rewriting the :link case when there's something to link.

I think I got the idea of the original code and kept it correctly, and tests are green. But maybe @enoliglesias can review this :)
@brenes
Copy link
Member Author

brenes commented Oct 5, 2016

@Guzmangm you were assigned to this pull request as you knew the original issue.
@enoliglesias you were assigned as my last commit overwrite some code you changed and it would be nice to make sure you see it ok 😄

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.

4 participants