ruby-on-railsapiactiveresourcerails-roar

Consuming REST API Rails


I've looked at this question but it's quite old and I feel there's now other alternatives to ARes.

Given that many people seem to think that ActiveResource is kind of outdated and heavyweight, I've looked at Api Smith, Her, Roar and of course ARes.

Which one of these gems would be the most reliable, and future proof alternative?


Solution

  • Why not using lower level libraries like HTTParty or Faraday ? They will cover a lot of the ugly stuff for you (ssl, parsing/serializing jsons and XMLs, logging, adding headers...) and you'll keep complete control of the URLs and the management of data.