Closed vongrippen closed 12 years ago
ArgumentError: wrong number of arguments (1 for 2) Error Class ArgumentError Request Details URL
ArgumentError: wrong number of arguments (1 for 2)
ArgumentError
http://wrc.allyancegroup.com/admin/events/46/remove_person?member_id=2
admin/events
remove_person
{"var"=>["2", "remove_person", "admin/events", "46"]}
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.1/lib/active_record/dynamic_matchers.rb:29:in 'find_or_create_by_event_id_and_person_id' [PROJECT_ROOT]/app/admin/events.rb:104:in 'block (2 levels) in <top (required)>' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb:4:in 'send_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:167:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb:10:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:18:in 'block in process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:524:in '_run__481903793822308911__process_action__633281054036231803__callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in '__run_callback' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in '_run_process_action_callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:81:in 'run_callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:17:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rescue.rb:29:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:30:in 'block in process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in 'block in instrument' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb:20:in 'instrument' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in 'instrument' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:29:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb:205:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.1/lib/active_record/railties/controller_runtime.rb:18:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in 'block in process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in 'block in perform_action_with_newrelic_trace' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/method_tracer.rb:242:in 'trace_execution_scoped' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in 'perform_action_with_newrelic_trace' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in 'process_action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:121:in 'process' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb:45:in 'process' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal.rb:203:in 'dispatch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rack_delegation.rb:14:in 'dispatch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal.rb:246:in 'block in action' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:66:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:66:in 'dispatch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:30:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in 'block in call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in 'each' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:589:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.1/lib/new_relic/rack/browser_monitoring.rb:23:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/sass-3.1.15/lib/sass/plugin/rack.rb:54:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:35:in 'block in call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:34:in 'catch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:34:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/head.rb:14:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/params_parser.rb:21:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/flash.rb:242:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in 'context' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/cookies.rb:338:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.1/lib/active_record/query_cache.rb:64:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in 'block in call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in '_run__1978149081987135115__call__3109449818964822299__callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in '__run_callback' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in '_run_call_callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:81:in 'run_callbacks' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/remote_ip.rb:31:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:16:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/show_exceptions.rb:56:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/rack/logger.rb:26:in 'call_app' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/rack/logger.rb:16:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/request_id.rb:22:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/cache/strategy/local_cache.rb:72:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/static.rb:53:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in 'forward' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in 'fetch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in 'lookup' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in 'call!' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:479:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/application.rb:220:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb:14:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb:14:in 'call' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:80:in 'block in pre_process' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in 'catch' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in 'pre_process' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:53:in 'process' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:38:in 'receive_data' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 'run_machine' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in 'run' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in 'start' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/server.rb:159:in 'start' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in 'run' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:265:in 'start' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in 'start' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:55:in 'block in <top (required)>' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in 'tap' [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in '<top (required)>' script/rails:6:in 'require' script/rails:6:in '<main>'
Error Information
Message
http://wrc.allyancegroup.com/admin/events/46/remove_person?member_id=2
Application Routing
Component/Controller
admin/events
Action
remove_person
Parameters
{"var"=>["2", "remove_person", "admin/events", "46"]}
Backtrace