Closed DibbsZA closed 10 years ago
A whole week it has taken me to notice the plural form of "comment" that is used in the 'this.hasMany(comments)' as written your example code.
So when I switched to using 'activities' in my code it no longer throws that error.
The pluralizer is a quite clever but a but quite obscure (imo) and perhaps too tricky for its own good LOL
The "Problem" model (see code below) works when it is stand-alone, but as soon as i attempt to establish a "this.hasMany" relationship with the "Activity" model I get the following error.
Please can you guide me as what the problem might be (API?, primaryKey?)
This is my model definition.