similar to: Expected ... to define (rails version 1.2.2)

Displaying 20 results from an estimated 1000 matches similar to: "Expected ... to define (rails version 1.2.2)"

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/
2007 Feb 15
0
Routing Error after upgrade
My hosting company has upgraded to: ruby-1.8.5 rubygems-0.9.0 And I am now getting the following error on my ruby site: http://www.scottisharchitecture.com/en/public/ no route found to match ”/en/public/” with {:method=>:get} /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/routing.rb:1292:in `recognize_path’
2008 Feb 07
2
FAILSAFE error with uploads
I''ve just upgraded a production web site with some new code to handle file uploads, using both the standard post technique and swfupload. This code was working perfectly in my development environment, and I''m not sure what I should ever start to look for. Here''s the stack dump: /!\ FAILSAFE /!\ Wed Feb 06 19:13:41 -0700 2008 Status: 500 Internal Server Error
2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey, I try to do my first steps in Ruby, and designed an "Hello World!" Application. Now I want to install this Application on an Apache server. I copied it to the "/public_html/" Directory here: (the application is called "rubyapp") http://sn00p.profusehost.net/rubyapp/ I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get an Error. So I looked
2007 Jun 11
3
ActiveRecord::StatementInvalid error
Hi, I have an application that is running fine on two different machines, but when I ported the code to a third machine, it doesn''t seem to work. More specifically, for users with a significant amount of info, it seems to stop working. All the functionality seems to be working properly on a small test set, but with a larger set I get the following error: AssociatedAp Load (0.000000)
2007 May 30
2
ActionView::TemplateError
Hi, I have a strange problem that only occurs on the production server. I''ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/ public/../config/../app/models/image.rb to define Image) on line #6 of app/views/admin/design/_record.rhtml: 3:
2007 Aug 19
3
fastcgi issue on production
I just deployed my rails app to my production server. It''s all working locally, but when I switched it over to the production server (at dreamhost) I get this error: # Logfile created on Sun Aug 19 15:22:48 -0700 2007 by logger.rb/ 1.5.2.9 [19/Aug/2007:15:22:48 :: 1841] starting [19/Aug/2007:15:22:48 :: 1841] Dispatcher failed to catch: You have a nil object when you didn''t
2007 May 10
5
Segmentation fault on large index
I''m getting a segmentation fault on a large index (15GB). I''m running ferret 0.11.4 on OpenSuSE 10.2 with ruby 1.8.6. The segmentation fault appeared after I optimized the index, see further below for the error message I got before that. Ferret works perfectly on other (smaller) indexes. Is this a known issue, and if so, is there a workaround? --------------------- after
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all, I''ve a rails project which successfully uploads images on the development server but fails to do it on production. The only difference is that the production server is on https/ssl. On the browser the error message is the followin: ''Application error Rails application failed to start properly'' Whereas in the log/fastcgi.crash.log i found the followin error
2006 Nov 04
3
Three processes for each mongrel server?
Hi everyone. Zed, thanks for Mongrel. I''ve been running mongrel on my WiFi cafe site (http://wifi.earthcode.com), and it''s been great. It handled a front-page digg a few weeks ago without blinking. However, I''m setting up a staging environment right now, and I''m getting what looks like three mongrel processes *all listening on the same port* for each mongrel
2008 Mar 24
2
Commands failing silently?
Hello all: I have a couple CentOS 4 servers (all up-to-date) that are having strange command failures. I first noticed this with a perl script that uses lots of system calls. Basically, sometimes a command just won't run: thoth(52) /tmp> ls thoth(53) /tmp> ls thoth(54) /tmp> ls thoth(55) /tmp> ls learner lost+found/ thoth(56) /tmp> ls learner lost+found/ thoth(57)
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed Rails 1.1.2 to my vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method
2006 Apr 18
1
Browsing Issues
Hi - I'm having some problems with network browsing using a Samba PDC (3.0.22) and I'd appreciate any hints that might push me in the right direction. One of the problems is that I am on a very crowded subnet that is being used by several different groups. There are a two separate WinNT/2000-style domains active on this network as well as an AD domain controller. Here are the
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 >
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready to deploy it. Unfortunately, my client decided to use GoDaddy as the hosting provider and based on what I''ve seen so far from the web, it''s not really the smoothest or ideal hosting for RoR apps. There were several posts here that I tried to follow but they were kinda old (2008, 2007). Most of
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
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI: Webrick Debug: [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
1999 Dec 08
0
Getting rid of printer temp files
You need to add a semicolon and then the command rm %s to the end of your print command. However, you'll need to delete the files already there manually from Unix. print command = /bin/pt %p %s %M %U %T %a %v %m %I %d;rm %s Steve Litt At 03:22 AM 12/09/1999 +1100, you wrote: >I've set up Samba 2.0.6 for use as a print server on our company NT >network. For some reason, the print
2006 Aug 06
1
RJS error
http://pastie.caboo.se/7437 Page appears as: Todo List #testing * Heres another Edit Destroy * Testes Edit Destroy * One more Edit Destroy * Heres another Edit Destroy * And another Edit Destroy NameError in TodosController#create undefined local variable or method `page'' for #<TodosController:0x228bf4c> RAILS_ROOT: