Steps necessaries to get the application up:
-
rvm install ruby-2.3.4
-
bundle install
-
rake test
Open the controller api/restaurants_controller.rb and ask the following questions:
-
Why this controller will not perform well? What's wrong with that implementation?
-
Improve the controller logic and code quality (you can change any files on the project). Ensure the test still working!