Module: Merb::ResourceController::DM::IdentityMapSupport
- Defined in:
- lib/merb_resource_controller/identity_map_support.rb
Overview
include this into controllers
Instance Method Summary collapse
Instance Method Details
#_call_action ⇒ Object
taken from: datamapper.org/doku.php?id=docs:identity_map
10 11 12 13 14 15 |
# File 'lib/merb_resource_controller/identity_map_support.rb', line 10 def _call_action(*) repository do |r| # enable identity_map Merb.logger.info "Using DM Identity map inside #{r.name} repository block" super end end |