ActiveResource vs HTTParty
-
21-05-2021 - |
Question
I'm moving our primary datastore away from ActiveRecord, and instead the data will be accessible through a REST api as JSON. Should I use ActiveResource or HTTParty to access the data? It's primarily going to be read-only for view rendering.
Solution
I think that HTTParty has a better API, is better maintained and more flexible than ActiveResource. I would use HTTParty.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow