Class: Merb::Orms::DataMapper::IdentityMapSupport
- Inherits:
-
BootLoader
- Object
- BootLoader
- Merb::Orms::DataMapper::IdentityMapSupport
- Defined in:
- lib/merb_datamapper.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/merb_datamapper.rb', line 84 def self.run if Merb::Plugins.config[:merb_datamapper][:use_repository_block] app = Merb::Config[:app] def app.call(env) DataMapper.repository do |r| Merb.logger.debug "In repository block #{r.name}" super end end end end |