Master

Before: Build resource with assign attributes
After: First build resource, second assign attributes

Why? 
`@product.images.new image: params[:image]`
Attribute `image` depends for `product`, but if build resource with assign attributes, then raise error (product_id: nil).