sharing helpers between spree and refinery