[Alumnionrails-errors] [ALI] user_friends#send_friendship_request (ArgumentError) "wrong number of arguments (0 for 3)"

Application Error ali at ba-ravensburg.de
Thu Jun 5 17:28:24 EDT 2008


A ArgumentError occurred in user_friends#send_friendship_request:

  wrong number of arguments (0 for 3)
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:419:in `request'

-------------------------------
Request:
-------------------------------

  * URL: http://localhost:8000/user_friends/send_friendship_request/92
  * Parameters: {"friendship_request"=>{"message"=>""}, "action"=>"send_friendship_request", "id"=>"92", "controller"=>"user_friends"}
  * Rails root: /var/www/localhost/rails/alumnionrails/releases/20080603085406

-------------------------------
Session:
-------------------------------

  * session id: "BAh7CDoMdXNlcl9pZGkCNwE6EnJlcXVlc3RlZF91cmkwIgpmbGFzaElDOidB%0AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--de0e1329717e4fef79299d9bcedd61982a60fd7e"
  * data: {:user_id=>311, :requested_uri=>nil, "flash"=>{}}

-------------------------------
Environment:
-------------------------------

  * CONTENT_LENGTH         : 32
  * CONTENT_TYPE           : application/x-www-form-urlencoded
  * GATEWAY_INTERFACE      : CGI/1.2
  * HTTP_ACCEPT            : text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
  * HTTP_ACCEPT_CHARSET    : ISO-8859-1,utf-8;q=0.7,*;q=0.7
  * HTTP_ACCEPT_ENCODING   : gzip,deflate
  * HTTP_ACCEPT_LANGUAGE   : de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
  * HTTP_CONNECTION        : Keep-Alive
  * HTTP_CONTENT_LENGTH    : 32
  * HTTP_CONTENT_TYPE      : application/x-www-form-urlencoded
  * HTTP_COOKIE            : __utma=192840314.686313872.1212442748.1212442748.1212700585.2; __utmz=192840314.1212442748.1.1.utmccn=(referral)|utmcsr=www1.ba-ravensburg.de|utmcct=/wi.html|utmcmd=referral; _ali_session=BAh7CDoMdXNlcl9pZGkCNwE6EnJlcXVlc3RlZF91cmkwIgpmbGFzaElDOidB%250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--de0e1329717e4fef79299d9bcedd61982a60fd7e; __utmb=192840314; __utmc=192840314
  * HTTP_HOST              : localhost:8000
  * HTTP_REFERER           : http://ali.ba-ravensburg.de/user/show/92
  * HTTP_USER_AGENT        : Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
  * HTTP_VERSION           : HTTP/1.1
  * HTTP_X_FORWARDED_FOR   : 78.42.236.47
  * HTTP_X_FORWARDED_HOST  : ali.ba-ravensburg.de
  * HTTP_X_FORWARDED_SERVER: ali.ba-ravensburg.de
  * PATH_INFO              : /user_friends/send_friendship_request/92
  * RAW_POST_DATA          : friendship_request%5Bmessage%5D=
  * REMOTE_ADDR            : 127.0.0.1
  * REQUEST_METHOD         : POST
  * REQUEST_PATH           : /user_friends/send_friendship_request/92
  * REQUEST_URI            : /user_friends/send_friendship_request/92
  * SCRIPT_NAME            : /
  * SERVER_NAME            : localhost
  * SERVER_PORT            : 8000
  * SERVER_PROTOCOL        : HTTP/1.1
  * SERVER_SOFTWARE        : Mongrel 1.1.5
  
  * Process: 2451
  * Server :

-------------------------------
Backtrace:
-------------------------------

  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:419:in `request'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:419:in `template_format'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:396:in `pick_template_extension'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:407:in `file_exists?'
  /usr/local/lib/ruby/gems/1.8/gems/gettext-1.91.0/lib/gettext/rails.rb:281:in `render_file'
  /usr/local/lib/ruby/gems/1.8/gems/gettext-1.91.0/lib/gettext/rails.rb:279:in `each'
  /usr/local/lib/ruby/gems/1.8/gems/gettext-1.91.0/lib/gettext/rails.rb:279:in `render_file'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:348:in `render'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:502:in `render'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:494:in `render_message'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:442:in `create_without_gettext!'
  /usr/local/lib/ruby/gems/1.8/gems/gettext-1.91.0/lib/gettext/rails.rb:461:in `create!'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:403:in `initialize'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:352:in `new'
  /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.0.2/lib/action_mailer/base.rb:352:in `method_missing'
  [RAILS_ROOT]/app/controllers/user_friends_controller.rb:38:in `send_friendship_request'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
  /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
  /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
  /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
  /usr/local/bin/mongrel_rails:19:in `load'
  /usr/local/bin/mongrel_rails:19




More information about the Alumnionrails-errors mailing list