Move import method from rake task to Affiliate model