http://stackoverflow.com/questions/26067866/how-to-get-has-many-through-across-servers-working