grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Note#touch_noteable
By default Rails will issue an "SELECT *" for the relation, which is overkill for just updating the timestamps. To work around this we manually touch the data so we can SELECT only the columns we need.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Note-touch_noteable-for-pr
# Commit to gitgit add git commit -m "better docs for Note#touch_noteable"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Note-touch_noteable-for-pr
hub pull-request
# Celebrate!