[前][次][番号順一覧][スレッド一覧]

learn-ruby-in-kansai:380

From: "mbaba" <xml@t...>
Date: Sat, 14 May 2005 00:07:12 +0900
Subject: [learn-ruby-in-kansai:380] Re: ここでコケました3

馬場@おくれてます

もりきゅうさま

> [learn-ruby-in-kansai:320] ここでコケました3
> の backtrace 全体を見せていただけますか。
>
すみません。ここの記事でやったときの物です。
最初はnewをアクセスするようになってたので、OKかと思ったら
http://localhost:3000/recipe/でだめでした。
なお、railsは0.12.1でrubygemsを使ってインストールしました。

http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3


ArgumentError in Recipe#index

wrong number of arguments (2 for 1)

script/server:48

Show framework trace

C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/pagination.rb:154:in `count'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/pagination.rb:154:in `count_collection_for_pagination'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/pagination.rb:172:in `paginator_and_collection_for'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/pagination.rb:111:in `paginate'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/scaffolding.rb:101:in `list'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/scaffolding.rb:94:in `index'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/base.rb:708:in `send'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/base.rb:708:in `perform_action_without_filters'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/filters.rb:294:in `perform_action_without_benchmark'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/benchmarking.rb:37:in `perform_action_without_rescue'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/benchmarking.rb:37:in `measure'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/benchmarking.rb:37:in `perform_action_without_rescue'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/rescue.rb:79:in `perform_action'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/base.rb:330:in `send'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/base.rb:330:in `process'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_cont
roller/base.rb:273:in `process'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.12.1/lib/dispatcher.rb:3
2:in `dispatch'
C:/Apache/htdocs/rails/cbook/public/dispatch.rb:10
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_s
upport/dependencies.rb:189:in `load'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_s
upport/dependencies.rb:189:in `load'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.12.1/lib/webrick_server.
rb:82:in `handle_dispatch'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.12.1/lib/webrick_server.
rb:35:in `service'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/PROGRA~1/ruby-1.8/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/PROGRA~1/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.12.1/lib/webrick_server.
rb:21:in `dispatch'

馬場幹彦


--
ML: learn-ruby-in-kansai@r...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

       285 2005-05-06 05:58 [gollum@h...         ] 第3回Ruby 関西勉強会ご案内/出欠確認     
       286 2005-05-06 14:24 ┣[sakai-n@m...        ]                                       
       287 2005-05-07 02:55 ┣[keisuken@c...       ]                                       
       288 2005-05-07 03:49 ┃┗[konami@k...         ]                                     
       289 2005-05-07 06:50 ┣[moriq@m...          ]                                       
       292 2005-05-08 18:32 ┃┗[babie7a0@y...       ]                                     
       295 2005-05-09 05:31 ┃ ┣[gollum@h...         ]                                   
       305 2005-05-09 17:11 ┃ ┃┗[kawano@k...         ] Re: 第3回Ruby 関西勉            
       307 2005-05-09 17:55 ┃ ┃ ┗[babie7a0@y...       ] Re: 第3回Ruby 関西勉強会ご案内/出欠確認
       315 2005-05-10 04:59 ┃ ┗[kazuhiko@f...       ]                                   
       319 2005-05-10 15:15 ┃  ┗[babie7a0@y...       ]                                 
       322 2005-05-10 18:37 ┃   ┣[moriq@m...          ]                               
       327 2005-05-11 03:12 ┃   ┗[kazuhiko@f...       ]                               
       338 2005-05-11 14:23 ┃    ┗[gollum@h...         ]                             
       343 2005-05-11 15:06 ┃     ┗[ngoto@g...          ]                           
       290 2005-05-07 11:05 ┣[xml@t...            ]                                       
       293 2005-05-08 20:20 ┣[zn@m...             ]                                       
       294 2005-05-09 05:27 ┣[gollum@h...         ] Re: 第3回Ruby 関西勉強会ご案内/出欠確認/中間集計 05-09
       313 2005-05-10 02:29 ┃┗[gollum@h...         ] Re: 第3回Ruby 関西勉強会ご案内/出欠確認/中間集計 05-10 9:30am
       300 2005-05-09 11:13 ┣[nov@y...            ]                                       
       301 2005-05-09 13:51 ┃┗[babie7a0@y...       ]                                     
       364 2005-05-12 11:45 ┃ ┗[nov@y...            ]                                   
       365 2005-05-12 13:02 ┃  ┗[babie7a0@y...       ]                                 
       372 2005-05-13 02:59 ┃   ┗[nov@y...            ]                               
       376 2005-05-13 14:20 ┃    ┗[sakai-n@m...        ] 第3回Ruby 関西勉強会への要望
       377 2005-05-13 14:44 ┃     ┗[babie7a0@y...       ]                           
       379 2005-05-13 16:43 ┃      ┗[moriq@m...          ]                         
       303 2005-05-09 14:40 ┣[ngoto@g...          ]                                       
       304 2005-05-09 16:21 ┣[mash@a...           ]                                       
       306 2005-05-09 17:50 ┃┣[babie7a0@y...       ]                                     
       378 2005-05-13 15:23 ┃┃┗[mash@a...           ]                                   
       308 2005-05-09 17:58 ┃┗[xml@t...            ] ここでコケました。                  
       309 2005-05-09 19:13 ┃ ┗[xml@t...            ]                                   
       316 2005-05-10 10:10 ┃  ┗[keisuken@c...       ]                                 
       318 2005-05-10 14:58 ┃   ┗[babie7a0@y...       ]                               
       320 2005-05-10 17:57 ┃    ┗[xml@t...            ] ここでコケました3          
       321 2005-05-10 18:29 ┃     ┗[moriq@m...          ]                           
       323 2005-05-10 19:28 ┃      ┗[xml@t...            ]                         
       325 2005-05-10 19:45 ┃       ┗[moriq@m...          ]                       
       341 2005-05-11 15:02 ┃        ┗[xml@t...            ]                     
       362 2005-05-12 09:29 ┃         ┗[moriq@m...          ]                   
->     380 2005-05-13 17:07 ┃          ┗[xml@t...            ]                 
       381 2005-05-13 17:17 ┃           ┗[xml@t...            ] Re: ここでコケました3、お仕事優先で
       382 2005-05-13 17:51 ┃            ┗[moriq@m...          ]             
       383 2005-05-13 19:38 ┃             ┗[xml@t...            ]           
       312 2005-05-10 02:23 ┣[gollum@h...         ]                                       
       326 2005-05-11 02:38 ┣[craftgear@a...      ]                                       
       333 2005-05-11 13:57 ┃┗[babie7a0@y...       ]                                     
       335 2005-05-11 14:01 ┣[gollum@h...         ]                                       
       336 2005-05-11 14:18 ┃┣[o-fukui@p...        ]                                     
       348 2005-05-11 16:09 ┃┗[tomoya@c...         ]                                     
       367 2005-05-12 16:51 ┃ ┗[tomoya@c...         ]                                   
       368 2005-05-12 17:01 ┃  ┣[konami@k...         ]                                 
       369 2005-05-12 17:06 ┃  ┃┗[hibino@c...         ]                               
       370 2005-05-12 18:05 ┃  ┃ ┗[nsh@2...            ]                             
       371 2005-05-12 20:08 ┃  ┗[babie7a0@y...       ]                                 
       357 2005-05-11 19:42 ┣[hien@k...           ]                                       
       358 2005-05-11 20:02 ┃┗[babie7a0@y...       ]                                     
       359 2005-05-11 20:39 ┃ ┗[hien@k...           ]                                   
       363 2005-05-12 09:50 ┃  ┗[moriq@m...          ]                                 
       360 2005-05-12 05:52 ┣[gollum@h...         ]                                       
       366 2005-05-12 15:48 ┃┗[hibino@c...         ]                                     
       375 2005-05-13 14:02 ┗[gollum@h...         ]                                       
       384 2005-05-14 02:20  ┗[tomoya@c...         ]                                     
       385 2005-05-14 02:44   ┗[konami@k...         ]                                   
       386 2005-05-14 02:58    ┗[babie7a0@y...       ]                                 
       387 2005-05-14 03:41     ┗[konami@k...         ]