Описание тега rails-api
Rails for API only applications (>3.2)
Rails::API is a subset of a normal Rails application, created for applications that don't require all functionality that a complete Rails application provides. It is a bit more lightweight, and consequently a bit faster than a normal Rails application. The main example for its usage is in API applications only, where you usually don't need the entire Rails middleware stack nor template generation.
Using Rails for API-only Apps
This is a quick walk-through to help you get up and running with Rails::API to create API-only Apps, covering:
- What Rails::API provides for API-only applications
- How to decide which middlewares you will want to include
- How to decide which modules to use in your controller