title: TypeError: Cannot read property "data" from undefined
body: <p>There is a many to many relationship between two records namely countries and clients. When I fetch some records from the clients ( an array of clients ) and I try to assign them problematically to a country( record ) like this <code>record[clientsRelationName] = clients</code> I get the following bazaar error, <code>TypeError: Cannot read property "data" from undefined.</code> I know for sure that the variable <code>clientsRelationName</code> is actually a string that corresponds to the name of the relation which is simply just called clients. And it has nothing to do with a variable called data. In fact data does't exist. And I know for sure that <code>record</code> is a defined variable.</p>
  
  <p>Any idea why this is happening? Is it a bug?</p>