سؤال

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