similar to: const_missing & undefined method problems upgrading to Rails 1.1.2

Displaying 20 results from an estimated 4000 matches similar to: "const_missing & undefined method problems upgrading to Rails 1.1.2"

2006 May 09
2
load fixtures
I''m finally getting beyond using basic test fixtures, and a few questions have popped up. Has anyone found ways to do these? 1. Use a test fixture that is named differently from its table name? We''d like to have more than one possible fixture per table. (Or perhaps use test fixtures named similarly but in different directories.) 2. Load a test fixture for one test method only
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: ======================================================== RuntimeError unknown symbol "gdImageSquareToCircle" RAILS_ROOT: /home/virtual/site1/fst/var/www/html/imodesite/public/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jun 19
2
const_missing error of has_many through association
Hi, I am new to ruby on rails. I am building an association join model and encountered the following error. Does anyone know what am I missing? > NameError in StartController#home > >d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Membership I have the following tables relationships Users
2008 Oct 31
10
Strange dependency error after going Ruby1.8.6, Rails 2.1.0 -> Ruby1.8.7, Rails 2.1.2
Hi, I''m getting an error I just can''t find any cause for. The error is "A copy of ApplicationHelper has been removed from the module tree but is still active!" and gets thrown in a Template that uses a method defined in my ApplicationHelper. The error occurs only in development mode. The error did not occur before my switch to Ruby 1.8.7 and Rails 2.1.2 minutes ago. I
2006 Nov 27
2
ActionMailer & application_helper.rb
Hi, I''m trying to send some emails with the same formatting as my pages & I can''t seem to access my display routines in application_helper.rb. I''m trying a hack to bypass this. At the top of my ActionMailer notifier script I''ve included application_helper.rb - my understanding is that this should arrive as a module and should be able to be used
2006 May 06
1
Rails Project only with root rights
I try to create a rails project as usual user. It does not work. If I do that as root it works fine. Also commands rails -v and gem -v does work only with root rights. On the command: developer@linux:~/data> rails test I get following output: /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:95:in `const_missing'': undefined method
2006 Apr 04
0
rails Test problem
Hi- I''m trying to install the latest version (1.1) of Ruby on Rails on an Ubuntu 5.10 (Breezy Badger) system. I compiled ruby, installed gems, and gem installed rails, no problem. However, when I try and set up a test app a get the following error: ~> rails Test /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:84:in
2006 Apr 19
0
Error in rails on unbuntu.
When I try to use rails after installing it I get the following error: mdoughty@styx:/usr/local/google/rails$ rails test /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:95:in `const_missing'': undefined method `demodulize'' for "Base":String (NoMethodError) My other gems are working fine. Anyone seen this before? thanks, -- --Matt
2009 Nov 14
1
`const_missing': uninitialized constant CGI::Session (NameEr
Hi all... I am facing the following error "`const_missing'': uninitialized constant CGI::Session (NameError)" While running "script/generate controller abc" Having any idea???? Thanks all..... -- Posted via http://www.ruby-forum.com/.
2010 Jun 21
1
in `const_missing': uninitialized constant CGI::Session
Hi, I have an application which previously running on rails 2.2.2. I just upgraded the rails to 2.3.8. After that I tried to start the server I got the following error:- "/usr/local/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing'': uninitialized constant CGI::Session (NameError" Anyone have any idea How to solve this
2006 Aug 16
0
`const_missing'': uninitialized ..
bad night ! my db model is like: person has many clients, and clients has many infoattributes so in my computer with script/console I can do aPerson.clients.first.rooms => and it is ok BUT in the new server which use rails 1.1.6 I have a `const_missing'': uninitialized constant Infoattribute Any idea ? arnaud
2006 Aug 17
0
`const_missing'': uninitialized constant
Hi all, still the same error, when accessing my model childs on the site5 server ....(Person.infogroups.first.infoattributes, (a Person has_many infogroup which has_many info_attribute)) I double check my config and the server and it is exactly the same (except for rubygem which is for me 0.8.11). ==>>ERROR
2006 Jan 30
0
const_missing: uninitialized constant Test when running unit tests
I have a set of tests that run without issue on one machine. On another machine when running the same tests we get: /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant Test (NameError) from ./test/unit/../test_helper.rb:5 from test/unit/entity_test.rb:1:in `require'' from
2008 Feb 09
0
Error const_missing': uninitialized constant Rails::Plugin::Err (NameError)
I have installed some plug ins like will_paginate and classic_pagination. After this I have came across this error /var/lib/gems/1.8/gems/activesupport-2.0.1/lib/active_support/ dependencies.rb:478:in `const_missing'': uninitialized constant Rails::Plugin::Err (NameError) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2006 Sep 03
2
Undefined method "xxx" of a model when calling a helper
Hi all I''m creating a shop page. I have a cart model that looks like the following: class Cart attr_reader :line_items def get_line_item id @line_items.each do |l| return l if l.id == id end end def initialize @line_items = [] end def empty! initialize end def empty? return true if @line_items.empty? false end end And I have some
2008 Mar 14
3
`const_missing'': uninitialized constant Spec::Rails
Hi! I''m experiencing such error while running simple model rspec just to make sure everything is working. $ script/spec spec/models/site_user_spec.rb /var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Spec::Rails (NameError) from
2008 Jul 07
0
[PATCH] KVM: Add irq ack notifier list
This can be used by kvm subsystems that are interested in when interrupts are acked, for example time drift compenstation. Signed-off-by: Avi Kivity <avi at qumranet.com> diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c index 0d9e552..9091195 100644 --- a/arch/x86/kvm/irq.c +++ b/arch/x86/kvm/irq.c @@ -111,3 +111,25 @@ void kvm_set_irq(struct kvm *kvm, int irq, int level)
2006 Feb 07
0
scope problems testing a helper method that calls link_to()
We''ve been having problems writing functional tests for helper methods that rely on ActionView methods. Here''s a specific example. In application_helper.rb I''ve got a method called ''party_link()ยจ: def party_link(party) link_to party.full_name, { :controller => ''contacts'', :action =>
2006 Feb 01
2
Uninitialized constant ApplicationController?
Hello list, I''m trying to start my Rails server after doing a long complex switch from Postgres to MySQL, and I''m getting the following error: => Booting WEBrick... /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant ApplicationController (NameError) from
2005 Mar 30
0
Help - dependencies.rb - `const_missing': uninitialized constant
I''m trying to get this has_and_belongs_to_many join to work (re: my post from yesterday). I''m getting an error I can''t seem to get by. Help? I now have the following tables: ORGANISATIONS: id (primary key) name REPRESENTATIVES id (primary key) name ORGANISATIONS_REPRESENTATIVES organisation_id representative_id My models are: class Organisation