3 ms·
This doesn't need to be a Rails feature. Rails is for building web apps. There is a whole bunch of extra stuff Rails does that a web api doesn't need to care ab
by programminggeek 14y ago
This doesn't need to be a Rails feature. Rails is for building web apps. There is a whole bunch of extra stuff Rails does that a web api doesn't need to care about. So, it really doesn't need to be a mvc web app framework feature.
Also, why tie this idea to Rails at all? Why not just make your own plugin or Sinatra app or frameowrk or whatever?
- AffableSpatula 14y agoBecause rails is used for building APIs, linking is a good practice, and there's no need to reinvent the linking/embedding wheel every time you create an API. Rails has API defaults which should include sensible linking defaults we can build tooling around.
- jedahan 14y agohence rails-api