Class: Application

Inherits:
Merb::Controller
  • Object
show all
Defined in:
lib/merb_datamapper.rb

Overview

wrap action in repository block to enable identity map

Instance Method Summary collapse

Instance Method Details

#_call_actionObject



75
76
77
78
79
80
# File 'lib/merb_datamapper.rb', line 75

def _call_action(*)
  DataMapper.repository do |r|
    Merb.logger.debug "In repository block #{r.name}"
    super
  end
end