alphagov/whitehall — comment on commit 4bae9291647f058c77b48dbf931ac5c9ab0c6df6
File:  line 0
By floehopper:

I should clarify that the problem was because both the call to `document.save` and the call to `document.update_attributes` caused an attachment to be inserted. To fix the problem we need to ignore the `attach_file` attribute in the call to `save` as we already do for `nation_inapplicabilities_attributes`.