When I go to a missing page in my rails app, I get the 500.html page, and this in my log output: no route found to match "/asdasd" with {:method=>:get} ./script/../config/../vendor/rails/actionpack/lib/action_controller/ routing.rb:1057:in `recognize_path'' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ routing.rb:1047:in `recognize'' ./script/../config/../vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/rails.rb: 85:in `process'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 549:in `process_client'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 548:in `process_client'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 617:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 616:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 605:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 935:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel.rb: 934:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails: 119:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ command.rb:211:in `run'' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:227 ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:140:in `load'' ./script/../config/../vendor/rails/railties/lib/commands/servers/ mongrel.rb:48 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:147:in `require'' ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' script/server:3 I get the same problem running on lighty. My 404.html page exists. Any idea why it''s not showing up?
On 7/20/06, Jonathan del Strother <maillist@steelskies.com> wrote:> > When I go to a missing page in my rails app, I get the 500.html page, > and this in my log output: > > no route found to match "/asdasd" with {:method=>:get} > ./script/../config/../vendor/rails/actionpack/lib/action_controller/ > routing.rb:1057:in `recognize_path'' > ./script/../config/../vendor/rails/actionpack/lib/action_controller/ >Can you show your routes file? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060720/2070155f/attachment.html
On Thursday, July 20, 2006, at 2:55 PM, Jonathan del Strother wrote:>When I go to a missing page in my rails app, I get the 500.html >page, and this in my log output: > >no route found to match "/asdasd" with {:method=>:get} >./script/../config/../vendor/rails/actionpack/lib/action_controller/ >routing.rb:1057:in `recognize_path'' >./script/../config/../vendor/rails/actionpack/lib/action_controller/ >routing.rb:1047:in `recognize'' >./script/../config/../vendor/rails/railties/lib/dispatcher.rb:38:in >`dispatch'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >rails.rb:85:in `process'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:549:in `process_client'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:548:in `process_client'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:617:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:616:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:605:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:935:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >mongrel.rb:934:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/ >mongrel_rails:119:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >command.rb:211:in `run'' >/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails:227 >./script/../config/../vendor/rails/activesupport/lib/active_support/ >dependencies.rb:140:in `load'' >./script/../config/../vendor/rails/railties/lib/commands/servers/ >mongrel.rb:48 >/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >`require'' >./script/../config/../vendor/rails/activesupport/lib/active_support/ >dependencies.rb:147:in `require'' >./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 >/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >`require'' >script/server:3 > > > >I get the same problem running on lighty. My 404.html page exists. >Any idea why it''s not showing up? >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsare you in development mode or production? _Kevin www.sciwerks.com -- Posted with http://DevLists.com. Sign up and save your mailbox.
On 20 Jul 2006, at 17:01, Kevin Olbrich wrote:> > On Thursday, July 20, 2006, at 2:55 PM, Jonathan del Strother wrote: >> When I go to a missing page in my rails app, I get the 500.html >> page, and this in my log output: >> >> no route found to match "/asdasd" with {:method=>:get} >> ./script/../config/../vendor/rails/actionpack/lib/action_controller/ >> routing.rb:1057:in `recognize_path'' >> ./script/../config/../vendor/rails/actionpack/lib/action_controller/ >> routing.rb:1047:in `recognize'' >> ./script/../config/../vendor/rails/railties/lib/dispatcher.rb:38:in >> `dispatch'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >> rails.rb:85:in `process'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:549:in `process_client'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:548:in `process_client'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:617:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:616:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:605:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:935:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >> mongrel.rb:934:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/ >> mongrel_rails:119:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >> command.rb:211:in `run'' >> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/mongrel_rails: >> 227 >> ./script/../config/../vendor/rails/activesupport/lib/active_support/ >> dependencies.rb:140:in `load'' >> ./script/../config/../vendor/rails/railties/lib/commands/servers/ >> mongrel.rb:48 >> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >> `require'' >> ./script/../config/../vendor/rails/activesupport/lib/active_support/ >> dependencies.rb:147:in `require'' >> ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 >> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >> `require'' >> script/server:3 >> >> >> >> I get the same problem running on lighty. My 404.html page exists. >> Any idea why it''s not showing up? > > are you in development mode or production?Development. Stack traces caused by other exceptions display fine.> Can you show your routes file?ActionController::Routing::Routes.draw do |map| map.resources :accounts map.connect '''', :controller => ''message'' map.login ''login'', :controller => "accounts", :action => ''login'' map.logout ''logout'', :controller => "accounts", :action => ''logout'' map.connect '':controller/service.wsdl'', :action => ''wsdl'' map.connect '':controller/:action/:id'' end I''m wondering if it''s due to a change in recent Edge Rails - does anyone on Edge get normal 404s? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2114 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060720/48cd3977/smime.bin
On Thursday, July 20, 2006, at 7:39 PM, Jonathan del Strother wrote:>On 20 Jul 2006, at 17:01, Kevin Olbrich wrote: > >> >> On Thursday, July 20, 2006, at 2:55 PM, Jonathan del Strother wrote: >>> When I go to a missing page in my rails app, I get the 500.html >>> page, and this in my log output: >>> >>> no route found to match "/asdasd" with {:method=>:get} >>> ./script/../config/../vendor/rails/actionpack/lib/action_controller/ >>> routing.rb:1057:in `recognize_path'' >>> ./script/../config/../vendor/rails/actionpack/lib/action_controller/ >>> routing.rb:1047:in `recognize'' >>> ./script/../config/../vendor/rails/railties/lib/dispatcher.rb:38:in >>> `dispatch'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >>> rails.rb:85:in `process'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:549:in `process_client'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:548:in `process_client'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:617:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:616:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:605:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:935:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/ >>> mongrel.rb:934:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/ >>> mongrel_rails:119:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/ >>> command.rb:211:in `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13/bin/ >>>mongrel_rails:>> 227 >>> ./script/../config/../vendor/rails/activesupport/lib/active_support/ >>> dependencies.rb:140:in `load'' >>> ./script/../config/../vendor/rails/railties/lib/commands/servers/ >>> mongrel.rb:48 >>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >>> `require'' >>> ./script/../config/../vendor/rails/activesupport/lib/active_support/ >>> dependencies.rb:147:in `require'' >>> ./script/../config/../vendor/rails/railties/lib/commands/server.rb:39 >>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in >>> `require'' >>> script/server:3 >>> >>> >>> >>> I get the same problem running on lighty. My 404.html page exists. >>> Any idea why it''s not showing up? >> >> are you in development mode or production? > > >Development. Stack traces caused by other exceptions display fine. > >> Can you show your routes file? > >ActionController::Routing::Routes.draw do |map| > map.resources :accounts > map.connect '''', :controller => ''message'' > map.login ''login'', :controller => "accounts", :action => ''login'' > map.logout ''logout'', :controller => "accounts", :action => ''logout'' > map.connect '':controller/service.wsdl'', :action => ''wsdl'' > map.connect '':controller/:action/:id'' >end > > > >I''m wondering if it''s due to a change in recent Edge Rails - does >anyone on Edge get normal 404s? > > > >--Apple-Mail-4--980102574 >Content-Transfer-Encoding: base64 >Content-Type: application/pkcs7-signature; > name=smime.p7s >Content-Disposition: attachment; > filename=smime.p7s > >MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFn >jCCAlcw >ggHAoAMCAQICAw/ >c8zANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh >d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsI >EZyZWVt >YWlsIElzc3VpbmcgQ0EwHhcNMDUxMTE1MTYyNzAyWhcNMDYxMTE1MTYyNzAyWjBJMR8wH >QYDVQQD >ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSYwJAYJKoZIhvcNAQkBFhdtYWlsbGlzdEBzd >GVlbHNr >aWVzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC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zAJBgNVBAYTAlpBMSUwI >wYDVQQK >ExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc >29uYWwg >RnJlZW1haWwgSXNzdWluZyBDQQIDD9zzMA0GCSqGSIb3DQEBAQUABIGAJZ9FBJUzpyEEb >zkwyJg7 >Nf/P4wociCNAVazwwEMvbq2jI+xs+e9Y6OUd2gxDn6iIgWTz7fAVhzFHZ3v6WbLjAi6r0 >DEJC466 >PSWmx91fi2c0GEvNY9XxZYZQKejxYt0ASgcchG5jJZgWamdv4F0ft47ALIiJT17pYbt4+ >LLh5UYA >AAAAAAA> >--Apple-Mail-4--980102574-- > > >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/rails >Try running in production mode for a minute and see if the behavior goes away. _Kevin www.sciwerks.com -- Posted with http://DevLists.com. Sign up and save your mailbox.
On 20 Jul 2006, at 20:34, Kevin Olbrich wrote:> Try running in production mode for a minute and see if the behavior > goes > away.Nope, same problem. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2104 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060720/0dd8a807/smime.bin