similar to: uninitialized constant DashboardController::User

Displaying 20 results from an estimated 200000 matches similar to: "uninitialized constant DashboardController::User"

2009 Sep 09
3
[Rspec] Using Mocha results in uninitialized constant, using a 'fix' breaks RSpec output
After installation of Mocha (0.9.7), running "script/spec spec" results in a "`const_missing'': uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError)" error. (As shown here; http://codepad.org/mTqztjwt ) I''m running Ruby 1.8.6 with Rails 2.3.4 on Windows, rspec (-rails) 1.2.8 (1.2.7.1), Test::Unit 2.0.3 As suggested roughly on
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?
2008 Oct 21
1
uninitialized constant error, help me
Hi, I''m a rails_fan in korea. As korean web site has a little information about rails I''m tryig to ask google groups users of my question <% for reserve in @plan.reserves %> This line make error like this ''uninitialized constant Plan::Reserf'' I already have plan and reserve model and I define their relationship. plan has_many :reserves reserve
2010 Oct 29
0
Uninitialized Constant Wx
Hello again. Another problem... I installed RVM, and then installed Ruby 1.9.1. After that I used RVM to make 1.9.1 the default Ruby version, and then I created a new gemset, and then I told RVM to use that new gemset for Ruby 1.9.1. Then I did "rvm gem install wxruby-ruby19". After this, I ran my client script once to test it and it worked just as well as it was working for 1.8. I
2009 Apr 09
4
uninitialized constant ActionView::Helpers::AssetTagHelper
Hi All, I just wiped out my hard drive, did a fresh install of os x 10.5, and upgraded to rails 2.3.2. i installed the mysql pkg for os x, and created the databases i needed for the project i was working on before the upgrade. However when i run rake db:migrate to run my migrations i get this error uninitialized constant ActionView::Helpers::AssetTagHelper I''ve found some stuff about
2010 Jun 10
0
Re: uninitialized constant User::Authentication
Dave Amos wrote: > I still haven''t figured this out yet. Am I missing a file somewhere? I had to move my restful_authenication to the vendor/plugins and that fixed the error message and now everything works. Reth11 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post
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 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
2009 Aug 25
5
uninitialized constant
API-> hello_message_api.rb. class HelloMessageApi < ActionWebService::API::Base api_method :hello_message, :expects => [{:firstname=>:string}, {:lastname=>:string}], :returns => [:string] end controller -> class HelloMessageController < ApplicationController web_service_api HelloMessageApi web_service_dispatching_mode :direct wsdl_service_name
2007 Oct 15
5
Very simple code throwing "uninitialized constant" error
This code works on an older version of Ruby and Rails but not with Ruby 1.8.6 and Rails 1.2.5. The code is so simple that I can''t figure out where the problem is. profile_controller.rb class ProfileController < ApplicationController def show @profile = Profile.find_by_school_id(params[:id]) end end ----------------------------------------------------------- profile.rb class
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
2006 Jan 08
0
uninitialized constant Test
I recently upgraded to Rails 1.0 and started a new project. I''ve started writing some tests, but when I run rake, I just get the following... Amnesia:~/Development/Rails/pog shad$ rake (in /Users/shad/Development/Rails/pog) /usr/bin/ruby -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "test/unit/pog_test.rb"
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production rake aborted! uninitialized constant User::Authentication The preceding I encounter when attempting to migrate to the production database. My google powers have escaped me. Everywhere says Restful Authentication is missing in the production server. However, to validate this, I attempted this on the same server as the development, which works. So, what
2009 Mar 21
5
- 2.3.2 uninitialized constant ApplicationController
Hi, I just migrated from rails 2.2.2 to 2.3.2 The rails app was running fine until i migrated I checked for the application.rb in the controller folder and its there Any suggestions, why this is happening??? Regards, Vimal Das --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
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''
2011 Mar 25
1
uninitialized constant Mime::HELLO
Hey all, if I do something like this in one of my controllers like users controller: if self.respond_to :hello and I have the hello method declared in application controller, which all my controllers inherit from: def hello end Then why does the interpreter say: uninitialized constant Mime::HELLO Thanks for response -- You received this message because you are subscribed to the Google
2007 Nov 02
1
uninitialized constant ActAsAuthenticated
Hi, I followed the installation guide on http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated, but db:migrate fails: $ rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant ActAsAuthenticated Tried to move include AuthenticatedSystem to ApplicationController,
2010 Jul 15
1
libxml: uninitialized constant
Hi all! I try to use libxml-ruby with my ROR-application and get the following error message: "uninitialized constant AdminController::XML". From controller file: require ''rubygems'' require ''xml/libxml'' ... parser = XML::Parser.new And the same code in irb work correctly: irb(main):001:0> require ''rubygems'' => true
2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb # Load the rails application require File.expand_path(''../application'', __FILE__) # Initialize the rails application Qstack::Application.initialize! require ''koala'' This is my application_controller.rb class ApplicationController < ActionController::Base # protect_from_forgery before_filter :parse_facebook_cookies def
2012 Aug 01
1
Strange error: uninitialized constant Barby::Code128A on Heroku server?
I can`t figure out why on heroku server my app crashed. On local server all seems works. 2012-08-01T17:14:50+00:00 app[web.1]: NameError (uninitialized constant Barby::Code128A): 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:102:in `generate_shipment'' 2012-08-01T17:14:50+00:00 app[web.1]: app/models/order.rb:60:in `generate_items'' 2012-08-01T17:14:50+00:00