Displaying 20 results from an estimated 10000 matches similar to: "`const_missing'': uninitialized .."
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 Jun 19
6
to_xml depth ...
hello,
The "render :xml => myFriends.to_xml", return something like:
<people>
<person>
<id type="integer">2</id>
...
<person>
But a Person has a "has_many" relationship and they are not in the xml,
=> so is it possible to change the depth of the marshall process ?
if it not possible, what are the "rails
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 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
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
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
2007 Jul 17
2
Plugin Problems: const_missing: uninitialized constant Rails::Initializer::CalendarHelper
I''m receiving this error when I try to start Mongrel on my local
machine. I''ve checked my Rails, Rake, and Gem versions, as well as all
of the other gems I''m using.
http://pastie.caboo.se/79503
The situation is that I simply started an empty Rails app and
generated an empty plugin. I added the plugin into the
ActionView::Base class in init.rb and really only added one
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 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
2006 May 03
0
const_missing & undefined method problems upgrading to Rails 1.1.2
Finally getting around to upgrading our application to Rails 1.1.2.
Of course, nothing runs correctly after the upgrade. So far two major problems,
perhaps related. Any help would be greatly appreciated.
1. We''re getting const_missing errors. Specifically when trying to use class
constants in a custom helper method, being called from a layout template. The
class constants were for
2006 Jul 07
1
uninitialized constant MiddleMan
I just updated backgroundrb to the latest version, and now I get this:
uninitialized constant MiddleMan
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
active_support/dependencies.rb:123:in `const_missing''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
active_support/dependencies.rb:131:in `const_missing''
2006 Sep 01
2
Uninitialized constant w/ ActiveResource
Howdy,
I had an application perfect for ActiveResource, which I do realize is not
finished.
Anyway, I froze my app to edge and then defined a class:
class Address < ActiveResource::Base
self.site = "http://ws.geonames.org/findNearestAddress?lat=:lat&lng=:long"
End
I tried to use it from the console but I get the trace below.
It appears it can''t
2006 Jul 11
0
"uninitialized constant Enum" in RoR app under Apache
Hi, all.
I am trying to manage to run my application under Apache+Mongrel but i
am stucked with very difficult (for me) problem.
The problem is: RMagick stuff works perfectly under WebRick. My
environment is
Ubuntu 5.10, ImageMagick 6.2.8, latest version of mongrel, rails,
rmagick... Apache 2.2
But if I start the same application under Mongrel I get following error
NameError (uninitialized
2006 May 25
0
uninitialized constant
I have tried to create and use my own Exception class,
AmbigouosPlaceException.
I can''t seem to use my exception though, as I get the following
FRUSTRATING error...
-----
Error
-----
uninitialized constant AmbiguousPlaceException
C:/app/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:89:in
`const_missing''
2007 Dec 24
1
Uninitialized constant in integration test
I am seeing weird issues when trying to create integration tests. Here
is a very simple example of something that is failing. The
assert_redirected_to, and other methods, fail with this or similar
exceptions.
I have tried requiring both ''application'' and ''listings_controller'', but
neither solves this problem, although the exception changes.
Anybody know
2006 Jul 27
2
accessing a variable inside a plugin
Hello,
I would like to load an Hash in my init.rb plugin file ... than I would
like to use this hash in my module ...
in my init.rb:
@anHash = load From file...
in mymodule:
module Amodule
def myFunction
#@anHash ....
end
end
How can I access to my hash in my plugin module function ?
thanks for this dummy question ;-)
Arnaud
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
I am getting a message when I update my system from rails 1.1.6 to
1.2.3 running rake.
[]# rake test --trace
(in /var/www/matrix.1.7.15)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Expected /var/www/matrix.1.7.15/config/../vendor/plugins/
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i
checked out the files and placed them in the vendor/plugins directory).
When I try to search I get the following error:
uninitialized constant BooleanClause
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace