similar to: uninitialized constant ExceptionNotifiable deploy_with_migrations in TEST

Displaying 20 results from an estimated 10000 matches similar to: "uninitialized constant ExceptionNotifiable deploy_with_migrations in TEST"

2006 May 05
1
NameError when running exception_notification plugin?
Hi all, I installed the exception_notification plugin via ''script/plugin install'', and when configure it and try to run it, I get: NameError uninitialized constant ExceptionNotifiable This error occured while loading the following files: application.rb exception_notifiable.rb In my application.rb, I added this: include ExceptionNotifiable And in my development
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone, So, I''ve got exception_notification working now, but not in development mode on localhost. In my ApplicationController, I''ve added: local_addresses.clear Shouldn''t that be enough? Thank you! Sean
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via: /script/plugin install -x exception_notification It resides in the vendor/exception_notification directory (as advertised). I''ve configured environment.rb with the following: ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org) ExceptionNotifier.sender_address = %("Application Error"
2007 Jun 16
2
Specs don''t find modules when using the secure_actions or ssl_requirement plugin
Hello, I''m trying the secure_actions plugin (or ssl_requirements) I''m installed the plugin, and added the include in application controller: class ApplicationController < ActionController::Base include ExceptionNotifiable include AuthenticatedSystem include SecureActions ... but when I try to run the specs I got this error:
2008 Jan 22
0
Trying to spec ExceptionNotifiable behavior
Hello List. I''m trying to overwrite part of ExceptionNotifiable (ExceptionNotification plugin) to render customized error 500 pages based on browser agents. For this, I''ve created a fake controller that inherits directly from ActionController::Base: class FooExceptionController < ActionController::Base include ExceptionNotifiable # this action should not fail, used for
2009 Mar 22
1
Upgrading 2.2 to 2.3: console broken, "uninitialized constant Module::ActiveSupport"
Upgrading a Rails app from 2.2 to 2.3.2 (via 2.3.0). Got things working in the browser, but script/console seems messed up in both 2.3.0 and 2.3.2: $ script/console Loading development environment (Rails 2.3.2) /Library/Ruby/Gems/1.8/gems/rails-2.3.2/lib/initializer.rb:56:in `env'':NameError: uninitialized constant Module::ActiveSupport
2008 May 07
1
uninitialized constant HelloadminController::HelloApi
I have built up a simple allication for web service interaction. But the following error message occured: uninitialized constant HelloadminController::HelloApi service api class HelloApi < ActionWebService::API::Base api_method :getMsg, :expects => [:name=>:string], :returns => [:string] end service controller class HelloController < ApplicationController
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
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
2008 Jan 28
0
gettext 1.10: uninitialized constant ApplicationController
When running rake updatepo with gettext 1.10, for several controllers it gives Ignored ''app/controllers/sample_controller.rb''. Solve dependencies first. /Users/sava/code/sht/trunk/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant'': uninitialized constant ApplicationController Rails is 1.2.5, frozen in
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,
2008 Feb 04
3
Hello World: uninitialized constant ApplicationController
Have the Wrox guide, but still having problems getting my hello world to run (very frustrating! ;-) Installed latest InstantRails package for Windows (XP). Thank you so much for helping!! Dirk After creating the project directories, I created my \app\controllers\greeting_controller.rb file: class GreetingController < ApplicationController def greeting end end Then put in my
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
2008 Jul 10
5
Uninitialized constant (controller/model)
NameError in StoreController#add_to_cart uninitialized constant StoreController::Cart This is the controller: class StoreController < ApplicationController def index @products = Product.find_products_for_sale end def add_to_cart @cart = find_cart product = Product.find(params[:id]) @cart.add_product(product) end private def find_cart session[:cart] ||=
2006 Jul 29
2
uninitialized constant ApplicationController
Hey, I am getting a weird error that doesn''t give much helpful debug output because the application controller can not be found. The actual error output actually shows up in the webrick server, i''m trying right now wether this could be because of my computer configuration but i don''t think so because it was working yesterday and i must have changed something that
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''
2008 Sep 08
0
uninitialized constant error with restful authentication
I''m trying to set up restful authentication with Rails 2.1.0 on Mac OS X Leopard, and I had to comment out RAILS_GEM_VERSION in the environment file to install the plugin from technoweenie. Now I''m trying to follow along in a tuturial, and I''m stuck on this: 1. $ ruby script/generate scaffold Role rolename:string 2.
2012 Apr 02
0
uninitialized constant UserController
Rails 3.1.3 I am trying to create an administrator page. ''User'' table has a field, admin:boolean, then user having ''admin=true'' can only access it, as you can imagine. But accessing http://localhost:3000/admin/user gives an error, uninitialized constant UserController I have ''controllers/admin/admin_application_controller.rb'' class
2012 Feb 18
0
Rails NameError : uninitialized constant RelationshipsController
I am trying to run a test of my app buy my relationships_controller_spec.rb file won''t run. Here''s the error I get: Exception encountered: #<NameError: uninitialized constant RelationshipsController> Here''s the code for my relationships_controller_spec.rb file: require ''spec_helper'' describe RelationshipsController do describe "access
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