I added a new model in Ember called `user-role`. It's no different to any of the other 30+ models the app has. But out of the blue I get this error in the console:
No model was found for 'user-role'
I get this error when I'm requesting the `user` model from the API. `user` model has a `hasMany` relationship to `user-role` models.
Our `user` model already has at least three `hasMany` relationships to other similar models and they work just fine. I'm completely lost why this is happening.
September 13, 2017
© 2024 Jackdaw's Nest