Skip to content

Instantly share code, notes, and snippets.

@cmar
Created January 5, 2015 15:03
Show Gist options
  • Save cmar/4e633ae2c71dcad385ef to your computer and use it in GitHub Desktop.
Save cmar/4e633ae2c71dcad385ef to your computer and use it in GitHub Desktop.
/gems/activemodel-3.2.13/lib/active_model/attribute_methods.rb:407 in "method_missing"
/gems/activerecord-3.2.13/lib/active_record/attribute_methods.rb:149 in "method_missing"
/app/models/delivery_method.rb:130 in "original_order_by"
/app/models/delivery_method.rb:165 in "order_by_has_passed?"
/app/models/delivery_method.rb:72 in "date"
/app/models/delivery.rb:109 in "delivery_dates"
/app/serializers/delivery_serializer.rb:12 in "delivery_dates"
(eval):6 in "_fast_attributes"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:466 in "rescue in attributes"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:454 in "attributes"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:478 in "_serializable_hash"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:360 in "serializable_hash"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer/associations.rb:200 in "serialize"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:426 in "include!"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:366 in "block in include_associations!"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:365 in "each_key"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:365 in "include_associations!"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:479 in "_serializable_hash"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:360 in "serializable_hash"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:348 in "as_json"
/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:47 in "block in encode"
/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:77 in "check_for_circular_references"
/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:46 in "encode"
/gems/activesupport-3.2.13/lib/active_support/json/encoding.rb:31 in "encode"
/gems/activesupport-3.2.13/lib/active_support/core_ext/object/to_json.rb:16 in "to_json"
/gems/active_model_serializers-0.8.1/lib/active_model/serializer.rb:333 in "to_json"
/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:93 in "block in <module:Renderers>"
/gems/active_model_serializers-0.8.1/lib/action_controller/serialization.rb:46 in "_render_option_json"
/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:35 in "block in _handle_render_options"
/usr/local/lib/ruby/1.9.1/set.rb:222 in "block in each"
/usr/local/lib/ruby/1.9.1/set.rb:222 in "each_key"
/usr/local/lib/ruby/1.9.1/set.rb:222 in "each"
/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:32 in "_handle_render_options"
/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28 in "render_to_body"
/gems/actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50 in "render_to_body"
/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88 in "render"
/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16 in "render"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40 in "block (2 levels) in render"
/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5 in "block in ms"
/usr/local/lib/ruby/1.9.1/benchmark.rb:295 in "realtime"
/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5 in "ms"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40 in "block in render"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83 in "cleanup_view_runtime"
/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24 in "cleanup_view_runtime"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39 in "render"
/app/controllers/quotes_controller.rb:14 in "create"
/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4 in "send_action"
/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167 in "process_action"
/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10 in "process_action"
/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18 in "block in process_action"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:425 in "_run__486925490543688467__process_action__2940202117392502613__callbacks"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405 in "__run_callback"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385 in "_run_process_action_callbacks"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81 in "run_callbacks"
/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17 in "process_action"
/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29 in "process_action"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30 in "block in process_action"
/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123 in "block in instrument"
/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20 in "instrument"
/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123 in "instrument"
/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29 in "process_action"
/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207 in "process_action"
/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18 in "process_action"
/gems/newrelic_rpm-3.6.6.147/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38 in "block in process_action"
/gems/newrelic_rpm-3.6.6.147/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:318 in "perform_action_with_newrelic_trace"
/gems/newrelic_rpm-3.6.6.147/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37 in "process_action"
/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121 in "process"
/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45 in "process"
/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203 in "dispatch"
/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14 in "dispatch"
/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246 in "block in action"
/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73 in "dispatch"
/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36 in "call"
/gems/journey-1.0.4/lib/journey/router.rb:68 in "block in call"
/gems/journey-1.0.4/lib/journey/router.rb:56 in "each"
/gems/journey-1.0.4/lib/journey/router.rb:56 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612 in "call"
/gems/is_it_working-1.0.10/lib/is_it_working/handler.rb:48 in "call"
/gems/newrelic_rpm-3.6.6.147/lib/new_relic/rack/error_collector.rb:43 in "call"
/gems/newrelic_rpm-3.6.6.147/lib/new_relic/rack/agent_hooks.rb:22 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17 in "call"
/gems/rack-1.4.5/lib/rack/etag.rb:23 in "call"
/gems/rack-1.4.5/lib/rack/conditionalget.rb:35 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242 in "call"
/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210 in "context"
/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341 in "call"
/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64 in "call"
/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28 in "block in call"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405 in "_run__3803662821210600337__call__993456825379076357__callbacks"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405 in "__run_callback"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385 in "_run_call_callbacks"
/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81 in "run_callbacks"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56 in "call"
/gems/railties-3.2.13/lib/rails/rack/logger.rb:32 in "call_app"
/gems/railties-3.2.13/lib/rails/rack/logger.rb:16 in "block in call"
/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22 in "tagged"
/gems/railties-3.2.13/lib/rails/rack/logger.rb:16 in "call"
/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22 in "call"
/gems/rack-1.4.5/lib/rack/methodoverride.rb:21 in "call"
/gems/rack-1.4.5/lib/rack/runtime.rb:17 in "call"
/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72 in "call"
/gems/rack-1.4.5/lib/rack/lock.rb:15 in "call"
/gems/rack-cache-1.2/lib/rack/cache/context.rb:136 in "forward"
/gems/rack-cache-1.2/lib/rack/cache/context.rb:143 in "pass"
/gems/rack-cache-1.2/lib/rack/cache/context.rb:155 in "invalidate"
/gems/rack-cache-1.2/lib/rack/cache/context.rb:71 in "call!"
/gems/rack-cache-1.2/lib/rack/cache/context.rb:51 in "call"
/gems/railties-3.2.13/lib/rails/engine.rb:479 in "call"
/gems/railties-3.2.13/lib/rails/application.rb:223 in "call"
/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30 in "method_missing"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/rack/request_handler.rb:96 in "process_request"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_request_handler.rb:516 in "accept_and_process_next_request"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_request_handler.rb:274 in "main_loop"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb:206 in "start_request_handler"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb:171 in "block in handle_spawn_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/utils.rb:470 in "safe_fork"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb:166 in "handle_spawn_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb:357 in "server_main_loop"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb:206 in "start_synchronously"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb:180 in "start"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb:129 in "start"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb:253 in "block (2 levels) in spawn_rack_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb:132 in "lookup_or_add"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb:246 in "block in spawn_rack_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb:82 in "block in synchronize"
:0 in ""
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb:79 in "synchronize"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb:244 in "spawn_rack_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb:137 in "spawn_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb:275 in "handle_spawn_application"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb:357 in "server_main_loop"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb:206 in "start_synchronously"
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/helper-scripts/passenger-spawn-server:99 in "<main>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment