tutorial para api com ruby on rails https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-one https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-two https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-three
-
Ruby version > ruby 2.2.6p396 (2016-11-15 revision 56800) [x64-mingw32]
-
Rails version > Rails 5.1.4
Running the TEST
bundle install
rails db:migrate
rake db:test:prepare
rails db:seed
bundle exec rspec