Displaying 20 results from an estimated 419 matches for "const_miss".
2006 Mar 31
2
Model inheritance is borken in Rails1.1
...<http://0.0.0.0:3000/order/add_payment?order_id=44#> | Framework
Trace <http://0.0.0.0:3000/order/add_payment?order_id=44#> | Full
Trace<http://0.0.0.0:3000/order/add_payment?order_id=44#>
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:112:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:120:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:122:in
`const_missing''
#{RAILS_ROOT}/app/controllers/order_controller.rb:61:in...
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 -------< Memberships >------- Teams
I have three model classes defined as below
>class Users < ActiveRecord::Base
> has_many :memberships
> has_many :teams, :through => :me...
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/.
2006 Aug 15
5
ActiveRecord inheritance
...tended
|RAILS_ROOT: script/../config/..|
Application Trace <http://localhost:3000/view#> | Framework Trace
<http://localhost:3000/view#> | Full Trace <http://localhost:3000/view#>
|/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''
#{RAILS_ROOT}/app/models/country.rb:2
app/controllers/view_controller.rb:3:in `index''|
|/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_su...
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 controller classes (but not the current controller).
Rails 1.0 (and previous) used to just find and load these automatically, but
1.1.2 throws an e...
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 issue?
I already renamed my application.rb to application_controller.rb
Thanks,
Tushar
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to...
2006 Feb 22
7
Ruby on Rails with Apache2, MS SQL on Windows XP
...<controller not set>#<action not set>
uninitialized constant AcquisitionController
RAILS_ROOT: C:/rails/bdo/acquisition/public/../config/..
Application Trace | Framework Trace | Full Trace
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in
`const_missing''
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in
`const_missing''
generated/routing/recognition.rb:4:in `recognize_path''
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in
`const_mi...
2007 Jan 19
6
Problem w/ routes.rb
I am trying to develop a new webapp using Rails 1.2.1. I am installing
it onto a production web server running Apache w/ fastcgi. The server
already has some older webapps running on it using an older version of
Rails. The apps are not installed in the document root; they each have
their own subdirectory which is a symlink for the apache document root
to the "public" directory of each
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
...to guess what could be the cause?
Morten
NameError
uninitialized constant DashboardController
RAILS_ROOT: /Users/morten/svn/tagticks/config/..
Application Trace | Framework Trace | Full Trace
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing''
generated/routing/recognition.rb:4:in `rec...
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
...nfoattributes, (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
usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing'': uninitialized constant
Is it a rails bug ?
thanks
arnaud
site5 config:
---------------
Ruby version 1.8.4 (i386-linux)
RubyGems version 0.8.10
Rails version 1.1.6
Active Record version 1.14.4
Action Pack version 1.12.5
Act...
2006 Jun 06
0
Scaffolding Extension - Polimorphic Associations
When I try to use it with polimorphic associations I get the following
error
In browse action:
activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing'': uninitialized constant Privable
activerecord-1.14.2/lib/active_record/base.rb:1246:in `compute_type''
activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing''
activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing''...
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''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
active_support/dependencies.rb:133:in `const_missing''
#{RAILS_ROOT}/app/models/client_dispatch...
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 test/unit/entity_test.rb:1
It is almost if the Test object itself just doesn''t exist. The machine
that it does no...
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 Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegro...
2006 May 27
2
NameError / active_support/dependencies
...the server, it cannot acces User model
anymore. all other pages work by the way.
when i try to access User on console or by web, it shows:
NameError in UsersController#signup
uninitialized constant User
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing''
#{RAILS_ROOT}/app/controllers/users_controller.rb:168:...
2007 Mar 06
2
Rails 1.2.2 upgrade problem
...rt/dependencies.rb:94:in `require_or_load''
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:248:in `load_missing_constant''
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:452:in `const_missing''
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:464:in `const_missing''
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:260:in `load_missing_constant''
from c...
2006 Jun 08
1
Test errors
...look too bad ;), perhaps someone would have a better understanding of what
it''s saying.
1) Error:
est_send_new_password(UserTest):
ameError: uninitialized constant Notifications
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1
/lib/active_support/dependencies.
b:123:in `const_missing''
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1
/lib/active_support/dependencies.
b:131:in `const_missing''
c:/instantrails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1
/lib/active_support/dependencies.
b:133:in `const_missing''
C:/InstantRai...
2007 Jan 22
1
Strange behavior
...from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
bb0_0_0.446368947706132)
/home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
../activesupport/lib/active_support/dependencies.rb:123:in `const_missing''
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
bb0_0_0.446368947706132)
/home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
../activesupport/lib/active_support/depend...
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
/home/dv/www/ob/config/../vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/example/configuration.rb:14
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from /...