Skip to content

Commit

Permalink
Merge pull request #34 from MeisterLabs/master
Browse files Browse the repository at this point in the history
Remove alias_method_chain.
  • Loading branch information
mhgbrown committed May 20, 2017
2 parents f9baf81 + 4a16812 commit 1ce5cc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cached_resource/caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module Caching

included do
class << self
alias_method_chain :find, :cache
alias_method :find_without_cache, :find
alias_method :find, :find_with_cache
end
end

Expand Down

0 comments on commit 1ce5cc8

Please sign in to comment.