Displaying 20 results from an estimated 10000 matches similar to: "Strange routing problem"
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>
2006 Nov 08
0
routing error does not get caught by rescue_action_in_public
I have this in my application controller.
def rescue_action_in_public(exception)
logger.error("rescue_action_in_public executed")
case exception
when ActiveRecord::RecordNotFound,
::ActionController::UnknownAction,
::ActionController::RoutingError
logger.warn("rendering 404 page")
render(:file =>
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my
application. I get the error:
Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006)
Parameters: {}
ActionController::RoutingError (Recognition failed for
"/keywordeditor"):
my application is called keywordeditor. I am starting the server from
the correct place with the correct command (I already
2008 May 06
2
Sending routing errors to the bitbucket
Hi,
Rails 1.2.6 on Linux, WEBrick.
Most of my users run IE 6, and some of them have MS Office plugins
that send bogus requests, causing routing errors like this:
ActionController::RoutingError (no route found to match "/MSOffice/
cltreq.asp" with {:method=>:get}):
They''re harmless, but I''d like to just send these to the bitbucket
rather than have them fill up my
2006 Jan 12
0
Rename dispatch.fcgi and routing stops working
I would like to rename dispatch.fcpi to host1_dispatch.fcgi,
host2_dispatch.fcgi, etc in order to allow Switchtower to kill the
right fcgi dispatch processes on deployment. But when I rename
dispatch.fcgi routing to the controllers stops working, any ideas why
this file name is important?
ActionController::RoutingError (Recognition failed for ""):
2006 Jan 18
2
Routing error for css?
I can''t remember when, or what I was doing, but now I can''t retrieve the
CSS files for my sites layout (I don''t think ror is handing them out
properly). I''m pretty sure that I didn''t touch anything. I don''t know
much about routes yet (I checked the routes.rb file with a freshly
generated one, and it was the same). What can be gleaned from
2006 Mar 28
2
Newbie question - ActionController::RoutingError
When i run my server and just chk in browser i get
---------------------------------------------------
ActionController::RoutingError (Recognition failed for
"/rails_info/properties"):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big
help. I''m getting the following error for any request to one of my
controllers, ''client'':
ActionController::RoutingError (Recognition failed for "/client/new"):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Apr 02
2
Recognition failed for "/rails_info/properties"
Hello. I can''t figure out why I''m getting the following problem, or
how to fix it.
I have Rails 1.1.0 installed on both OS X and Solaris, and in both new
and old projects, and using either WEBrick or lighttpd, I get:
Recognition failed for "/rails_info/properties"
when lining to it off the welcome to rails page. I get the following
errors through the console:
2006 Jun 07
4
Images not showing up
I moved my working rails app from one server to another and suddenly my
images are not showing up. In the production log I see this:
ActionController::RoutingError (Recognition failed for
"/images/header.jpg"):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Aug 14
0
Recognition failed for ...
Hello,
I''m new to Rails so please forgive me if I''m asking any stupid
questions...
I''m trying to set up lighttpd so that is supports multiple Rails apps
(in the form of http://server/app1, http://server/app2, etc). OS:
Gentoo, 2.6.17 kernel, ruby 1.8.4, rails 1.1.6, lighttpd 1.4.11
My rails app is generated into /mnt/b/www/rails/test1/ and I''ve appended
2006 May 02
3
Route problem
I have an index.rhtml is rendered when the (main)controller is loaded.
The page contains some check boxes and a submit button. See form code
below. When I click the submit button, I get a 404. I don''t know how to
post this data back to my controller where method "addvisit" is waiting.
It works in WEBrick no problem, but doesn''t work in fcgi on DreamHost.
I am
2006 Mar 26
2
Controllers in modules, not recognised - driving me mad!
Hi, I hope somebody can help me here but I''m having a very strange
problem getting Rails to recognise controllers inside modules. The
strange thing is, it was working the other day and I''ve not changed
anything as far as I''m aware. I''m running on OSX using Ruby 1.8.4 and
Rails RC1 (but I''ve also tried rolling back to Rails 1.0 and tried Edge
Rails)
2011 Jul 28
2
rails 3 routing error
Here''s the error:
1) SessionsController GET ''new'' should be successful
Failure/Error: get :new
ActionController::RoutingError:
No route matches {:controller=>"sessions", :action=>"new"}
# ./spec/controllers/sessions_controller_spec.rb:8:in `block (3
levels) in <top (required)>''
2) SessionsController GET
2009 Jul 16
2
getting routing errors
Hi guys,
I am getting some routing errors which, I have not mentioned in
routing.rb, these are somewhat like js,css or some xml files missing.
The sample error is
ActionController::RoutingError (no route found to match
"/reviews-ratings/rss.xml" with {:method=>:get}):
Here as these are not in our website, nobody can encounter these, but
still we are getting errors. Please help
2011 Apr 12
0
Suppress ActionController::RoutingError in logs
My rails log get chock a block with things like
<<<<<<<<<<<<
ActionController::RoutingError (No route matches "/admin/Y-
ivrrecording.php" with {:method=>:get}):
...
ActionController::RoutingError (No route matches "/manager/html" with
{:method=>:get}):
..
ActionController::RoutingError (No route matches "/webdav/test" with
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run
under lighttpd and fastcgi..
my setup is fedora core 5..
i used this to get everything installed:
http://www.digitalmediaminute.com/howto/fc4rails/
but i kept getting errors, as the machine i am installing it is a remote
machine, i couldn''t get it to work right..
i next tried this:
2006 Jan 24
2
DOCTYPE declaration:
I am playing around with the Agile Rails development book again and
thought to see what effect, if any, placing a doctype declaration
at the top of an rhtml file would have. When I insert any of the
three standard forms of such declaration at the top of
app/views/store.rhtml the product image disappears when the web
page is redisplayed. The error logged in log/development.log is:
>