ActiveResource vs HTTParty
-
21-05-2021 - |
题
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.
解决方案
I think that HTTParty has a better API, is better maintained and more flexible than ActiveResource. I would use HTTParty.
不隶属于 StackOverflow