Module: PhusionPassenger::Rails3Extensions::AnalyticsLogging::ACExtension
- Defined in:
- lib/phusion_passenger/rails3_extensions/init.rb
Instance Method Summary collapse
Instance Method Details
#process_action(action, *args) ⇒ Object
164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/phusion_passenger/rails3_extensions/init.rb', line 164 def process_action(action, *args) log = request.env[PASSENGER_ANALYTICS_WEB_LOG] if log log.("Controller action: #{self.class.name}##{action_name}") log.measure("framework request processing") do super end else super end end |
#render(*args) ⇒ Object
176 177 178 179 180 181 182 183 184 185 |
# File 'lib/phusion_passenger/rails3_extensions/init.rb', line 176 def render(*args) log = request.env[PASSENGER_ANALYTICS_WEB_LOG] if log log.measure("view rendering") do super end else super end end |