Displaying 20 results from an estimated 2000 matches similar to: "Newbie question - ActionController::RoutingError"
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''
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 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 May 13
7
Recognition Failure
I keep getting a Recognition failed for "/dispatch.fcgi" error. I
search for a solution and the closest I came to finding one was
someone saying "look at the Rewrite in .htaccess and you''ll be able
to figure it out." Well, I can''t! If anyone could help, I would
appreciate it.
Thanks!
Floyd
-------------- next part --------------
An HTML attachment
2007 Feb 15
1
Images and stylesheets are not serving
Hello
One of ours sites has just lost all it''s images and styling.
It''s not a very busy site at all, so it might have been not working
properly for some time now.
Here''s how we start it in Lighty
<pre>
$HTTP["host"] == "gregynog.glam.ac.uk" {
server.document-root = "/www/rails/greg/current/public/"
server.error-handler-404 =
2006 Apr 19
1
Recognition failed for "/"
I am new to ROR and i have been following a few howto''s and just testing
things.
It works fine in webbrick yet if i try and access using lighttpd or if i
run
public/dispatch.fcgi from cmd line i get the error below
Thanks
Recognition failed for "/"
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
`recognition_failed''
2006 Jun 16
5
Application Error
Hi Folks,
When I have tried this cookbook example from onLamp tutorial,
I got some error like this,
output of development.log is
----------
Permission denied -
/var/www/html/cookbook/public/../config/../tmp/sessions//rub
y_sess.d51d8997edf6be91
only the first line of output is this,
output truncated.
---------
what it will be ?
How to solve this ?
In my browser, I am getting Applicaiton
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with
Plesk all day. Fun stuff. Basically, the issue that I can not solve has
to do with access to /public. None of my images, javascripts, etc. are
working in the app. Trying to access any of these results in a 404 (or
routing error if in developer mode). Oddly, the 404 file it displays is
-- you guessed it -- in fact *in*
2006 Mar 30
4
404 Error on dispatch.fcgi
I''m a java/php programmer trying out Ruby/Rails on my Dreamhost account.
I followed the wiki steps to the letter (2x now) and am still getting a
404 when I hit my dispatch.fcgi.
http://mydomain.com/public/dispatch.fgci
Can someone give me suggestions on how to debug this problem?
Here is my dispatch.fcgi file:
#!/usr/bin/env ruby
#
# You may specify the path to the FastCGI crash log
2006 May 16
2
Rails doesn''t serve static files in production mode
I just noticed this:
RoR does serve static files on a lighttpd-server just fine - in
development mode. If I set it to production in environment.rb - static
files are not served anymore (like the scaffold.css).
How can I fix this?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
2
no marshal_dump is defined for class Proc
Hello ~
This problem has me puzzled. When users login to my rails app I have the
session set up to be stored in the MySQL database for the app.
Intermittently, users will get the following error:
no marshal_dump is defined for class Proc
D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:81:in
`dump''
2006 Apr 12
5
File upload doesn''t work in production mode
Can anyone understand what the production.log file is telling me. I''ve
tried playing with the permissions for the folders and it makes no
difference. Every time I submit the form to upload the file I get
"Application error (Rails)" which doesn''t really help.
Processing DocsController#create (for 82.152.151.194 at 2006-04-12
12:44:13) [POST]
Session ID:
2006 Mar 31
7
problem with habtm conditions in pagination
Hello list,
I''ve had this problem for two days now. Perhaps someone here would
care to comment on it. I''d be REALLY appreciative if that''d be the case.
Basically, it''s outlined at this paste: http://rafb.net/paste/results/
kXQSHZ83.html
But I''ll paste it here, too.
The main problem is in the customers/list action. The problem is with
this line:
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly
after a reboot:
[13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt)
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each''
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
`process!''
2005 Oct 11
1
RoR on Apache
I used generate/scaffold to create simple CRUD screen that works perfectly
with Webrick. I wanted to attempt to run the same ROR app on Apache. I
followed the instructions found at
http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP
with the alternate ending found at
http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit
hout+VirtualHosts. I have
2006 Feb 22
7
Ruby on Rails with Apache2, MS SQL on Windows XP
My app was running fine with Linux, Apache2/Lighttpd and MySQL. I have a
need to migrate to Windows, Apache2 and MS SQL. But I keep getting the
following error when I load the initial home page. Anyone can please
give me a pointer where to go next for troubleshooting? Thanks in
advance.
NameError in <controller not set>#<action not set>
uninitialized constant
2007 Mar 01
1
ActiveRecord::StatementInvalid error
When I try to run my webserver in the production environment I just
get an application error message. This is all I can find in the log:
ActiveRecord::StatementInvalid
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/
connection_adapters/sqlite_adapter.rb:274:in `table_structure''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
2006 Aug 05
1
"uninitialized constant" error when I go to app base URL???
Hi,
I''m getting the below attached error when I navigate to the root of my
web application on my hosting site (dreamhost.com), however in
development it works fine. Any ideas?
That is I have one controller so the direct URL is
"http://mydomain.com/contacts". This works on dreamhost and locally.
BUT when I go to "http://mydomain.com/" this works locally (on
2006 Apr 01
2
my app broke this morning on with this error.
Like I said, my app suddenly stoped working in the last few minutes.
I''m on dreamhost but I''m running rdge rails locked in on the 1.1
release.
Stale NFS file handle - ../config/../log/production.log
/usr/lib/ruby/1.8/logger.rb:520:in `write''
/usr/lib/ruby/1.8/logger.rb:520:in `write''
/usr/lib/ruby/1.8/logger.rb:318:in `add''
2006 Feb 14
9
Deploying in Dreamhost
What pain. I am ready to switch hosts. I have this app in Dreamhost
where I load the static pages just fine. The location of my rails app
is /home/username/webaddress.com Under that resides the app/, public/
and so on. Like I said I can see my static pages that I have under
public since I have in the Managed host panel the following:
Web Directory: /home/username/[ webaddress.com/public