similar to: ''NameError: uninitialized constant <MyEntity>'' in console

Displaying 20 results from an estimated 6000 matches similar to: "''NameError: uninitialized constant <MyEntity>'' in console"

2008 Sep 20
2
NameError: uninitialized constant Inflector
I follwed the example here: http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/ #!/usr/bin/ruby require ''rubygems'' require ''active_support/inflector'' puts Inflector.singularize(''inflections'') I loaded it into irb and wrote a killer script both of which worked perfectly for weeks. Now when I try and run the script or run
2010 Sep 21
1
NameError: uninitialized constant Dispatch
In the "Rails Way" book, following an example, I came to a point where I had to run: Dispatch.dispatch But, I get the following: irb(main):003:0> Dispatch.dispatch NameError: uninitialized constant Dispatch from (irb):3 I want to mention that I''m using "Rails 3.0.0", and the book seems to use an older version of Rails, is that the issue? What is the
2008 Nov 28
3
Beginner: "NameError - uninitialized constant" when I create a model object
My first Rails example using model and I got this NameError: NameError in VandaController#att uninitialized constant VandaController::Compute Same code works fine if I don''t create the Compute object. What did I do wrong? Here is the Controller class VandaController < ApplicationController def att @compute = Compute.new @data1 = @compute.cmpt end end Here is the Model
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all, I am starting out to play with capistrano. I installed the capistrano gem, and I got some messages. I am not sure if these are errors, warnings or just status messages.I hope someone here can help me understand these messages, so that I don''t suspect Capistrano installation if I run into issues further down. :-) binil$ gem install -r capistrano Attempting remote installation
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
I am looking for a ruby hosting service. Can any one recommend one for me. -----Original Message----- From: rails-request@lists.rubyonrails.org [mailto:rails-request@lists.rubyonrails.org] Sent: Saturday, May 06, 2006 7:37 AM To: rails@lists.rubyonrails.org Subject: Rails Digest, Vol 20, Issue 156 Send Rails mailing list submissions to rails@lists.rubyonrails.org To subscribe or
2005 Sep 18
5
NameError: uninitialized constant Addres
I created some scaffolding for an Address model and an Addresses controller. When running the functional tests for the addresses controller, I get this exception: "NameError: uninitialized constant Addres" The exception seems to start from this function: def list @address_pages, @addresses = paginate :address, :per_page => 10 end I''m guessing pluralization bug?
2009 Apr 24
4
uninitialized constant Facter::IPAddress (NameError)
I just started getting this error on some machines after a yum update from centos 5.2 to centos 5.3. Does anyone know what it means? Since I''m not a ruby person, I''m not sure how to debug this, but it looks to me like facter is having trouble parsing information about my interfaces. # facter /usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb:19: uninitialized constant
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone, I''ve a RoR application. I am trying to build full text search capability into it. I installed Ferret. After that I installed the act_as_ferret plugin. I''ve also put the acts_as_ferret inside the <model>.rb file . I''m using the find_by_contents to get the search results. I''m getting the following error. I''ve no clue and I
2006 Feb 07
1
AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
I copied (and modified) this code from AWDWR: def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render :template=>''/error'', :layout=>''application'', :status=>''404 Not Found'' else render :template=>''/error'',
2009 Apr 15
1
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
I''m on debian etch w/ ruby1.8, activesupport-2.3.2, getting this on the first line of code which is require ''active_support'' : /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
2009 Mar 18
1
uninitialized constant ActionController::AbstractRequest (NameError) with rails 2.3
Hi guys, I''ve just installed Rails 2.3 and I am using the clearance plugin with cucumber features. When I run rake features I get this "uninitialized constant ActionController::AbstractRequest (NameError)" error from webrat trying to call AbstractRequest which now is called Request (I think). My question is : Is there any way to alias the old name to have backwards
2011 May 17
1
uninitialized constant Delayed::Job (NameError)
hi I am implementing delayed_job in my rails app. *my code is:* file name is: my_worker.rb require "delayed_job" require "rubygems" class MyClass def perform while true do puts "I am in My class!!!" sleep 2 end end end Delayed::Job.enqueue( MyClass.new ) #m.perform when i am executing this(ruby my_worker.rb ) file it gives me error
2007 Aug 10
2
uninitialized constant MiniMagic (NameError)
Hi, Mini-Magick breaking. I have installed mini-magick gem. Here is my sample program require ''rubygems'' gem ''mini_magick'' include minimagick image = MiniMagick::Image.from_file(''./fun.jpg'') image.resize "100x100" image.write(''./funthumb.jpg'') Output: test.rb:3: undefined local variable or method
2006 Feb 02
4
uninitialized constant Test (NameError)
I have three Rails apps on my laptop. Two can runs tests just fine. The third generates this error when I try to run any tests: > /usr/local/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
2008 Jan 16
6
Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi, just updated backgroundrb to release 1.0.1 and am getting this error when trying to start backgroundrb. vendor/plugins/backgroundrb/framework/core.rb:18: uninitialized constant Packet::ClassHelpers (NameError) Just updated from r298 where everything was working fine. If I comment out the offending line then backgroundrb starts but I can''t connect to it from my app. Anyone have any
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
I keep getting this when I try to start the server: [Macintosh:rails/work/demo] jslicari% script/server /Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths'': uninitialized constant Gem::Etc (NameError) from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each'' from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths'' from /Library/Ruby/Site/1.8/rubygems.rb:526:in
2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
My application, a very simple general ledger, that worked very well until June 26 does not work any longer. It is used under Ubuntu 12.04 and I believe there was a Ruby update after that. What happens? When I try to start the appIication I get the following output in my web browser: ActionDispatch::Session::SessionRestoreError Session contains objects whose class definition isn''t
2006 Feb 08
2
NameError (uninitialized constant UnknownAction)
Hi, I''m having a strange problem that only seems to be happening on our production server. I never get this error locally but get it quite often on the server. The other odd thing is it doesn''t seem to be resulting in any error pages on the site. Everything looks fine... I wanted to add a rescue_action_in_public to email me when there are errors. So I followed the
2012 Jun 21
2
Rails production load order giving uninitialized constant (NameError)
Hi, I have a related but separate question. Again, please redirect me if I''m in the wrong place. I''ve been getting this error in production (on Heroku) only (it happens when the application is loading): 2012-06-21T09:30:19+00:00 app[web.1]: /app/app/controllers/spree/ checkout_controller_decorator.rb:3:in `block in '': uninitialized constant
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite "green" in RR :) I am trying to make the Demo Application that comes with Ferret to work but I guess something with my environment is not OK. I will do apreciate any help. [root at moonlight FerretDemo]# ./script/server => Booting