Вопрос

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top