Generate a RESTful API from a directory of ActiveRecord models.
Get Up and Running
Throw this in your Gemfile:
Put your ActiveRecord models in
models/(make sure the file names are the same as the class names).
Create a rackup file that generates the application:
Run the application like normal:
bundle exec rackup
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request