Fred
--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/Hg2WDp82a9oJ.
To post to this group, send email to rails-...@googlegroups.com.
To unsubscribe from this group, send email to rails-oceani...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
I'd say use the gem I made for consuming REST APIs of a particular
design, but it's a bit unfinished :) Did work somewhat nicely in most
situations though.
Simon.
ActiveResource is pretty good and very easy to work with. One thing you will probably need to do is write your own caching strategy around it, there's no support for http caching headers built in sadly.
When I was at NZX, we ended up writing a read-through cache on our client side as our application was very read heavy. More info here: http://injectisforwizards.com/blog/read-through-caching-of-activeresource/
Cheers,
Gareth Townsend
http://www.garethtownsend.info
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/lOSRJANwEzMJ.
--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/6bqhWFaUSNMJ.
Shorter: ActiveResource considered unmaintained & mostly unused, pulled out of Rails source tree in the hopes that somebody will fork/fix it (as was done by with ActionMailer)
(says the person who spent an hour writing a shim between AM for Rails 2.x and AM for Rails 3.x so he didn't have to convert & individually test over twenty notifiers. I'm not proud.)