HTTP conditional get support for ActiveResource.
Add this line to your application’s Gemfile:
And then execute:
Or install it yourself as:
$ gem install activeresource-conditional-get
Works out of box after adding:
ActiveResource::Base.cache = Rails.cache
ActiveResource::Base.cache = ActiveSupport::Cache.lookup_store(:mem_cache_store)
[HTTP Conditional Get](www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
¶ ↑Contributing to activeresource-conditional-get
Create your feature branch (‘git checkout -b my-new-feature`)
Commit your changes (‘git commit -am ’Added some feature’‘)
Push to the branch (‘git push origin my-new-feature`)
Create new Pull Request
Copyright © 2012 Sergey Rozum. See LICENSE.txt for further details.