remove refund_detail->refund check, as it was preventing creating association
remove puts