Exception: ActiveRecordCaching::CacheKeyExists

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_record_caching/errors.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



3
4
5
6
7
8
9
10
# File 'lib/active_record_caching/errors.rb', line 3

def message
  "ActiveRecord::Base.cache_key exists" \
  "\n\n" \
  "The ActiveRecord::Base.cache_key monkey patch is no longer required." \
  "\n" \
  "ActiveRecord::Base already responds to .cache_key" \
  "\n\n"
end