jsonapi-resources: wrong query
Processing by UsersController#show as JSON
User Load (1.0ms) SELECT users.* FROM users WHERE users.id IS NULL ORDER BY users.id ASC LIMIT 1
wrong query is being issued for http://localhost:3000/users.json , any idea why this would happen ?
Using rails 5 with mysql2 output : { “errors”: [ { “title”: “Record not found”, “detail”: “The record identified by could not be found.”, “code”: “404”, “status”: “404” } ] }
but i have 50 users in my db
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (9 by maintainers)
@lgebhardt Ok. I will wait for my colleague to be back next so he can have a look at what was done so far. If we can’t find a solution together we will make a small app and share it with you. Thank you.
@lgebhardt The
release-0-9fixed the second problem I mentioned. Thank you. I await your return for my original problem.