The pull request with all the code.

you should be using `resource` and `resources` in this file like you have below for ratings and recommendations