fix inverse_of association in block of new child

when creating new association object with a block:

    parent.association.build { |child| ... }

in the block the `child.parent` did not point to the same object