View Code? Open in Web Editor
NEW
LofoCats UI is a simple web application consuming the LofoCats API, built with Ruby on Rails :cat:
Home Page: https://iridakos.com/news/2015/06/21/rails-sample-api-ui
License: MIT License
Ruby 53.36%
JavaScript 0.41%
CSS 2.57%
HTML 43.67%
lofocats_ui's People
lofocats_ui's Issues
I wonder what if i have an API routes like
/users/#{user_id}/comments
or
/users/#{user_id}/comments/#{comment_id}
to be defined in the model? (By connecting two resource together)
users = User.all
users.first.comments #=> Generates comments array objects along with user id route mapping to child objects