lib/analysis_tools/endpoints.rb in `controller' | 33 | |
errorFile `lib/analysis_tools/endpoints.rb' not available
|
||
(eval) in `endpoints' | 6 | |
errorFile `(eval)' not available
|
||
merb-core/controller/abstract_controller.rb in `_call_action' | 321 | |
merb-core/controller/abstract_controller.rb in `block in _dispatch' | 289 | |
284 caught = catch(:halt) do
285 start = Time.now
286 result = _call_filters(_before_filters)
287 @_benchmarks[:before_filters_time] = Time.now - start if _before_filters
288
289 @body = _call_action(action_name) if result == :filter_chain_completed
290
291 result
292 end
293
294 @body = case caught
|
||
merb-core/controller/abstract_controller.rb in `catch' | 284 | |
279 # :api: plugin
280 def _dispatch(action)
281 self.action_name = action
282 self._before_dispatch_callbacks.each { |cb| cb.call(self) }
283
284 caught = catch(:halt) do
285 start = Time.now
286 result = _call_filters(_before_filters)
287 @_benchmarks[:before_filters_time] = Time.now - start if _before_filters
288
289 @body = _call_action(action_name) if result == :filter_chain_completed
|
||
merb-core/controller/abstract_controller.rb in `_dispatch' | 284 | |
279 # :api: plugin
280 def _dispatch(action)
281 self.action_name = action
282 self._before_dispatch_callbacks.each { |cb| cb.call(self) }
283
284 caught = catch(:halt) do
285 start = Time.now
286 result = _call_filters(_before_filters)
287 @_benchmarks[:before_filters_time] = Time.now - start if _before_filters
288
289 @body = _call_action(action_name) if result == :filter_chain_completed
|
||
merb-core/controller/merb_controller.rb in `_dispatch' | 285 | |
280 # :api: plugin
281 def _dispatch(action=:index)
282 Merb.logger.info { "Params: #{self.class._filter_params(request.params).inspect}" }
283 start = Time.now
284 if self.class.callable_actions.include?(action.to_s)
285 super(action)
286 else
287 raise ActionNotFound, "Action '#{action}' was not found in #{self.class}"
288 end
289 @_benchmarks[:action_time] = Time.now - start
290 self
|
||
merb-core/controller/merb_controller.rb in `_call' | 262 | |
257 # ==== Returns
258 # Array[Integer, Hash, #each]:: A standard Rack response
259 #
260 # :api: private
261 def _call
262 _dispatch(request.env["merb.action_name"])
263 _benchmarks[:dispatch_time] = Time.now - request.env["merb.request_start"]
264 Merb.logger.info { _benchmarks.inspect }
265 Merb.logger.flush
266 rack_response
267 end
|
||
merb-core/controller/merb_controller.rb in `call' | 252 | |
merb-core/dispatch/dispatcher.rb in `dispatch_action' | 91 | |
merb-core/dispatch/dispatcher.rb in `handle' | 69 | |
merb-core/dispatch/dispatcher.rb in `handle' | 29 | |
merb-core/rack/application.rb in `call' | 17 | |
12 # <Array>:: A rack response of [status<Integer>, headers<Hash>, body<String, Stream>]
13 #
14 # :api: private
15 def call(env)
16 begin
17 rack_response = ::Merb::Dispatcher.handle(Merb::Request.new(env))
18 rescue Object => e
19 return [500, {Merb::Const::CONTENT_TYPE => Merb::Const::TEXT_SLASH_HTML}, e.message + Merb::Const::BREAK_TAG + e.backtrace.join(Merb::Const::BREAK_TAG)]
20 end
21 Merb.logger.info Merb::Const::DOUBLE_NEWLINE
22 Merb.logger.flush
|
||
gems/ruby/2.4.0/gems/rack-1.6.9/lib/rack/static.rb in `call' | 124 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/configuration.rb in `call' | 249 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/request.rb in `block in handle_request' | 77 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/thread_pool.rb in `with_force_shutdown' | 340 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/request.rb in `handle_request' | 76 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/server.rb in `process_client' | 440 | |
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/thread_pool.rb in `block in spawn_thread' | 147 | |