Module: Memcacheable
- Extended by:
- ActiveSupport::Autoload, ActiveSupport::Concern
- Defined in:
- lib/memcacheable.rb,
lib/memcacheable/fetcher.rb,
lib/memcacheable/flusher.rb,
lib/memcacheable/version.rb,
lib/memcacheable/fetch_by.rb,
lib/memcacheable/fetch_one.rb,
lib/memcacheable/fetch_where.rb,
lib/memcacheable/fetch_method.rb,
lib/memcacheable/fetch_has_one.rb,
lib/memcacheable/fetch_has_many.rb,
lib/memcacheable/fetch_belongs_to.rb,
lib/memcacheable/fetch_association.rb,
lib/memcacheable/fetch_by_criteria.rb
Defined Under Namespace
Modules: ClassMethods
Classes: FetchAssociation, FetchBelongsTo, FetchBy, FetchByCriteria, FetchHasMany, FetchHasOne, FetchMethod, FetchOne, FetchWhere, Fetcher, Flusher
Constant Summary
collapse
- VERSION =
"0.1.0"
Instance Method Summary
collapse
Instance Method Details
#flush_cache ⇒ Object
24
25
26
|
# File 'lib/memcacheable.rb', line 24
def flush_cache
Flusher.new(self).flush
end
|
#touch ⇒ Object
28
29
30
31
|
# File 'lib/memcacheable.rb', line 28
def touch
super
flush_cache
end
|