README.md in rails_cache_it-0.0.1 vs README.md in rails_cache_it-0.0.2

- old
+ new

@@ -1,8 +1,8 @@ # RailsCacheIt -Help you cache with ActiveRecord. +Help you easy to cache with ActiveRecord. Only support Rails program. ## Installation @@ -26,10 +26,14 @@ Only work on Relation now(it means you can't use it with #first #last etc..). ###expires +`User.limit(50).cache_it expires_in: 5.minutes` + +or use block + `User.limit(50).cache_it{ User.count}` when block.call != pre_block.call cache will expires @@ -37,10 +41,10 @@ view [AvtiveSupport::Cache::Store#fetch](http://api.rubyonrails.org/classes/ActiveSupport/Cache/Store.html#method-i-fetch) ###set default options -`RailsCacheIt.default_options.merge(options)` +`RailsCacheIt.default_options.merge!(options)` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)