The problem was on my end. One of the gems my app depends on was overriding the String#constantize method, and it was breaking the resolution of the routing namespace. Removing that gem fixes my problem.
For some reason I can't get my app to work based on the sample code for this screencast. After setting up the routes, api_constraints, and the api/v1/ controller directory structure, API requests fail with the exception:
Solved
The problem was on my end. One of the gems my app depends on was overriding the String#constantize method, and it was breaking the resolution of the routing namespace. Removing that gem fixes my problem.
Sorry for the bother.
For some reason I can't get my app to work based on the sample code for this screencast. After setting up the routes, api_constraints, and the api/v1/ controller directory structure, API requests fail with the exception:
My controller at
app/controllers/api/v1/groups_controller.rb
looks like this:My Routes look like this:
Anyone else have this problem? Have I missed something?