cipele46 / cipele46-web

4 stars 0 forks source link

NameError: uninitialized constant Ad::Reply #22

Open cipele46 opened 10 years ago

cipele46 commented 10 years ago

Check full details on Airbrake: #69248833

Backtrace:

[GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/inheritance.rb:111:in compute_type [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/reflection.rb:172:in klass [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/association.rb:117:in klass [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/association.rb:165:in find_target? [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/collection_association.rb:334:in load_target [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:44:in load_target [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:87:in method_missing [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/associations/builder/has_many.rb:32:in block in define_destroy_dependency_method [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:418:in _run4291723615740528598destroy121639919076609473callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in run_callback [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in _run_destroy_callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in run_callbacks [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:254:in destroy [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/transactions.rb:254:in block in destroy [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in block in with_transaction_returning_status [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in transaction [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/method_tracer.rb:518:in block in transaction_with_trace_ActiveRecord_self_name_transaction [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/method_tracer.rb:268:in trace_execution_scoped [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/method_tracer.rb:513:in transaction_with_trace_ActiveRecord_self_name_transaction [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in with_transaction_returning_status [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/transactions.rb:254:in destroy [PROJECT_ROOT]/app/controllers/ads_controller.rb:49:in destroy [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4:in send_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in block in process_action [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:436:in _run1210299759338124816process_action2317081437324893998callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in run_callback [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in run_callbacks [GEM_ROOT]/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in block in process_action [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in block in instrument [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in instrument [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in process_action [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in process_action [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38:in block in process_action [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:318:in perform_action_with_newrelic_trace [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in process_action [GEM_ROOT]/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in process [GEM_ROOT]/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in process [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in dispatch [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in dispatch [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in block in action [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in dispatch [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in call [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in each [GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in call [GEM_ROOT]/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in call! [GEM_ROOT]/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in call [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/rack/error_collector.rb:12:in call [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/rack/agent_hooks.rb:22:in call [GEM_ROOT]/gems/newrelic_rpm-3.6.5.130/lib/new_relic/rack/browser_monitoring.rb:16:in call [GEM_ROOT]/gems/warden-1.2.3/lib/warden/manager.rb:35:in block in call [GEM_ROOT]/gems/warden-1.2.3/lib/warden/manager.rb:34:in catch [GEM_ROOT]/gems/warden-1.2.3/lib/warden/manager.rb:34:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/etag.rb:23:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context [GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in call [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in call [GEM_ROOT]/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in block in call [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in _run1394172501606658248call121639919076609473callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in __run_callback [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in _run_call_callbacks [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in run_callbacks [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in call [GEM_ROOT]/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in call_app [GEM_ROOT]/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in block in call [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in tagged [GEM_ROOT]/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in call [GEM_ROOT]/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call [GEM_ROOT]/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in call [GEM_ROOT]/gems/rack-1.4.5/lib/rack/lock.rb:15:in call [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in pass [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in invalidate [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in call! [GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call [GEM_ROOT]/gems/railties-3.2.13/lib/rails/engine.rb:479:in call [GEM_ROOT]/gems/railties-3.2.13/lib/rails/application.rb:223:in call [GEM_ROOT]/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in method_missing /home/cipele46/.rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in process_request /home/cipele46/.rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in accept_and_process_next_request /home/cipele46/.rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in main_loop /home/cipele46/.rvm/gems/ruby-1.9.3-p429/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in block (3 levels) in start_threads