Displaying 20 results from an estimated 7000 matches similar to: "Routing error "unitialized constant" after refactoring"
2006 Dec 27
6
file upload
I ma trying to get this upload working,
http://mongrel.rubyforge.org/docs/upload_progress.html,
....after starting from the command line,
mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf
I get this eror in the browser,
NameError
uninitialized constant UploadProgressRailsController
RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/..
Application Trace | Framework Trace
2006 Jul 19
1
flickr.rb error
hi all,
i am trying to put flickr on my ruby app using the famous "Putting
flickr on Rails" tutorial...i followed all the steps what was given
there...but the followoing error always come...
Error Message:
NoMethodError in FlickrController#search
private method `gsub'' called for 24:FixnumRAILS_ROOT:
C:/rails/flickr/config/..
Application Trace | Framework Trace | Full
2010 May 10
1
Rails/mongrel/httpd issue - F13, rails 2.3.5
Hi,
I have an issue with mongrel and rails. I add -B option(debug) to mongrel_rails in /etc/init.d/mongrel-rails but it didn't display more logs : http://ovirt.pastebin.com/N5v94cTu
This is the page I get when I try to reach the ovirt web interface, I see the html tags (kerberos auth is working) :
<html><body>You are being <a
2006 Aug 04
0
How to make prefix_sessions recognizable?
Hello,
i must use prefix to each of my tables for my project right now. Now i''m
facing this session stored in table problem.
i don''t use rake db:sessions:create, but i use script/generate migration
create_myproject_sessions
then
create_table :myproject_sessions do |t|
t.column :myproject_session_id, :string
t.column :data, :text
t.column updated_at, :datetime
end
then
2007 Mar 12
0
setup/config issue
Hey everyone. I''ve got my linux apache 2.0 server set up with vhost.conf to forward traffic to mongrel on port 8000.
It''s working fine in some situations, but I recently installed a rails app that is giving me all sorts of missing model and controller errors. The app works on other servers, so I''m guessing there''s some sort of mongrel/rails interaction issue
2006 Aug 12
15
Help mongrel keeps crashing...
Alright, it seems that I am having a bit of a problem with mongrel. My
mongrel processes have been crashing pretty often and twice last night. I''m
really not sure why, but I really need to fix it. I am running 0.3.13.3. Here
is the mongrel.log file. Any ideas, things to look at, etc... is appreciated.
Thanks,
Carl
PS, do all the broken pipe lines mean Mongrel is serving the static
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code,
it seems that it could be an easy fix, where it''s looking for a LockError,
but I think it''s a LockException.
I''m on 0.10.13 with a very large index (about a million docs) that''s staged
on several servers, which are updated daily. (Using rails 1.1.6)
Thanks for all the hard work.
2006 Nov 20
5
RMagick load problems?
I have a page (model: daily_progress_chart) that uses RMagick and
ImageMagick to create a chart using RVG. A few days ago (after some
updates to Rails), this chart stopped working on both my development
machine (MacBook Pro) and the production server (Gentoo Linux). I get
the following error messages. I am totally lost, but I assume that there
is a problem with RMagick. Any ideas anyone?
On
2007 Jun 15
4
404 Error in any controller/action on Media Temple
Hi everybody.
I''m a newbie on RoR. I have some experiencie developing in PHP or Java,
but I''m just starting with RoR.
A few days ago I signed up to the (gs) Grid Service on Media Temple.
This is my very first experience deplying RoR on a production
enviroment. Until now I just used the WebRick server on developement.
Well, the problem I''m having is that after
2006 Jul 20
5
Why don''t I get 404s?
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''
2009 Dec 21
3
beginner problem
Hi,
I´m starting using rails. I have one problem. I create a controller, the
code is the next:
class PlayersController < ApplicationController
scaffold:player
end
I did all the things that I suppose to do, but a problem appears when
try to open my webpage application. The error is the next
NoMethodError in PlayersController#index
undefined method `scaffold'' for
2010 Apr 05
3
syntax error, unexpected '\n', expecting tASSOC
Hey all,
I get the following error. Now I know it''s related to a curly brace, but
it seems that all curly braces are properly in place. So I''m not sure
why I get this error:
SyntaxError in DashboardController#panels
rails/app/controllers/dashboard_controller.rb:170: syntax error,
unexpected ''\n'', expecting tASSOC
def panels
addDetailToContainer =
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It
complained routes.rb, no such file or directory and then sometimes i get
application.rb, no such file or directory.Doesn''t seem correct to me.
Though not so often, but even production servers throw these errors
sometimes, and i have no special routes setup or something.Its pretty much
default one, except few changes
2008 Mar 11
3
ActionController::NotImplemented (Only requests are allowed.)
We have a bunch of strange entries in our error log, and don''t know
exactly what they mean:
The errors are as follows
ActionController::NotImplemented (Only requests are allowed.):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1437:in `recognize_path''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1424:in
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
Hello all,
with great difficulty , I guess I have finally been able to find the
appropriate git commit of paperclip which would suit my project''s config
which is Ruby 1.8.7 and rails 2.0.2.
I am trying to implement a POC before I integrate paperclip in my
project. The POC is basically implementing each post with an appropriate
image beside it. It seems to pretty much work, its just
2006 Aug 29
2
"Broken pipe" and "no such file to load -- irb"
I just switched my rails app, which I had previously been running on my pc,
to my linux server and have decided to use mongrel. However, since doing so
I get an error when I first access the app saying "no such file to load --
irb". After I refresh this error goes away, but I keep getting the
following errors in my logs, and I''ve noticed that certains things, like
sessions and
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller.
All the methods I called in these are workable.
But somehow the new method is not recognizable.
------------------new method I
added--------------------------------------------
def push
# if fair
begin
@product = Product.find(params[:id])
rescue
logger.error("Attempt to access invalid product #{params[:id]}")
2007 Oct 23
2
Aborted (core dumped)
Hey,
When I''m trying to upload images I get this following error and my ruby
server shuts down:
Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47)
[GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {"action"=>"new", "controller"=>"upload"}
User Columns (0.002187) SHOW FIELDS FROM users
User Load
2007 Jan 11
6
nil object while the required parameter are in the request
I''m having an application as follows.
I have all the parameters for as object appended in the url.
And there is an action in the controller like this
def newlet
render :layout=> false
@product = Product.new
if request.get?
@product.title= params[:title]
@product.description = params[:description]
@product.primary_link = params[:primary_link]