Solve both sides of the missing fields bug, not only one

This commit is contained in:
Maciej Szlosarczyk 2018-04-25 16:03:13 +03:00
parent cec05c3943
commit a82db7a67a
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
7 changed files with 21 additions and 11 deletions

View file

@ -1,4 +1,5 @@
- domain = Domain.new(@version.object.to_h)
- present_fields = only_present_fields(@version, Domain)
- domain = Domain.new(present_fields)
- attach_existing_fields(@version, domain)
- if @version