create relationship in rake task