similar to: `load_missing_constant': uninitialized constant Rails::Generator (NameError)

Displaying 19 results from an estimated 19 matches similar to: "`load_missing_constant': uninitialized constant Rails::Generator (NameError)"

2009 May 12
1
`load_missing_constant': uninitialized constant Rails::Gener
Hello, I''m probably missing something pretty basic here as a rails newbie but I''m trying to write a plugin and I am trying to get my generator to work. I am trying to call the manifest method in my vendor/plugins/media_module/generators/media_module_generator.rb from my vendor/plugins/media_module/init.rb. here''s the code in vendor/plugins/media_module/init.rb:
2005 Apr 20
4
Error in tutorial or sintax changed?
Hi, In this tutorial http://wiki.rubyonrails.com/rails/show/HowtoUseJoinsWithFindAll it sad: sql =<<SQL SELECT articles.*, authors.name AS author_name FROM articles LEFT JOIN authors ON author_id = authors.id SQL and this return *app/controllers/media_controller.rb:366: can''t find string "SQL" anywhere before EOF* what is wrong? the tutorial or ruby changed? please,
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All, I run rake gems:install rake gems:unpack If i add configure the rspec-rails gem in config/environment.rb: config.gem "rspec-rails", :version => ">= 1.3.2" and then run server. I am getting this error: /home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am getting the error like this load_missing_constant'': uninitialized constant ExceptionNotifier (NameError) Please solve it -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Oct 21
1
load_missing_constant
I have a model ''site'' defined in a sub-folder ''cms'' class Cms::Site < ActiveRecord::Base ..... the model is loaded correctly , checked in console: application.rb config.autoload_paths += Dir["#{config.root}/app/models/**/"] console >Cms::Site.all => [] Now trying to access this model from a sites_controller ( in backoffice/cms
2007 Aug 01
1
PaginationHelper load_missing_constant error
I just ran into this error after updating rails and the rspec_on_rails plugin (both are on edge): /Users/ben/Work/wizzdl/vendor/rails/activerecord/lib/../../ activesupport/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::PaginationHelper (NameError) from /Users/ben/Work/wizzdl/vendor/rails/activerecord/
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there rails: 2.3.8 machine os: Ubuntu 10.04 Lucid I''m having some problems with my rails installation in one of my new development machines. I have installed all the gems in my config/environment.rb file. When I now run either script/console or script/server, I have the error of " `rescue in load_missing_constant'': uninitialized constant Paperclip::Glue
2012 Jun 07
2
load_missing_constant: Expected to define class in module
Hi I''m having some weird issues with Rails 3 and classes defined in modules. To be more precise I''ve created several files that define classes in the AppBase module like: module AppBase class BackendMenu [content omitted] end end When a page tries to use the BackendMenu class like AppBase::BackendMenu I get an error saying "Expected backend_menu.rb to define
2005 Mar 22
1
RE: Asterisk-Users Digest, Vol 8, Issue 152
I understand Asterisk is more like a B2BUA. But when this INFO request is sent to asterisk, asterisk is supposed to bridge the request to the other endpoint, right? In what situation, it decides to send a reply; in what situation, it decides to bridge the request? What is the role of gateway in SIP world, a proxy, a B2BUA or something else? Thank you, Wei Date: Fri, 18 Mar 2005 12:51:28 -0600
2005 Mar 18
3
Asterisk handling of SIP info
We encouter a situation where we need to use SIP info to convey infomation for one end point to another endpoint. I use asterisk to do the test and find asterisk does not forward the SIP info to another endpoint, but act as UAS and returns a 4xx error message. I think asterisk is not right to handle this SIP info message. In RFC 3261 Page 70 "This protocol is designed to be extended.
2011 Feb 04
1
standalone NOTIFY message handling for Asterisk
Hi, I am using Asterisk 1.6.2.11 to test 3rd party Voice Message server (VMS), currently when VMS send NOTIFY message (standalone NOTIFY, no previous SUBSCRIBE for the dialog for SIP), asterisk responded with 489 Bad Event, in the debug log it indicates as the following: [Feb 4 13:27:06] DEBUG[8353] chan_sip.c: Invalid SIP message - rejected , no callid, len 771 I have googled around
2006 Aug 12
15
Help mongrel keeps crashing...
Alright, it seems that I am having a bit of a problem with mongrel. My mongrel processes have been crashing pretty often and twice last night. I''m really not sure why, but I really need to fix it. I am running 0.3.13.3. Here is the mongrel.log file. Any ideas, things to look at, etc... is appreciated. Thanks, Carl PS, do all the broken pipe lines mean Mongrel is serving the static
2011 Apr 21
1
Rails 3 Foreign Domain routing - cannot get this to work!
Hello, I''m trying to build an app (mysuperapp.com) that allows users to create an account in which a default subdomain (IE: joeshmoe.mysuperapp.com) will be created as their homepage. In their profile settings, I also want to give them the ability to add their own domain name so their homepage now can be joeshmoe.com. I know this is possible in rails w/ plugins like subdomainfu
2017 Dec 02
2
PJSIP Trunk 401 Unauthorized (Alestra Mexico)
??? I am having a really bad day trying to get incoming calls to work on Asterisk 13 with PJSIP.? We just migrated from Asterisk 1.8 where everything was working but there seems that something got lost in translation.? No matter what I try I always get a 401 Unauthorized message when receiving a call from the PSTN provider.? I can make calls and the registration is working.? I have tried to
2011 Apr 20
2
Cannot get progress bars to work w/ Apache Progress Module
I am following this screencast http://railsillustrated.com/screencast-file-uploads-progress-in-rails-passenger.html as well as comparing this against all the other rails Apache Progress Module progress bar examples and I can''t figure out why I am always getting a 404 routing error: ActionController::RoutingError (No route matches "/progress"): I have a feeling that
2012 Jul 19
20
Rails' inflections are messy
Yesterday, I opened a GitHub Issue<https://github.com/rails/rails/pull/7071> about moving Rails inflections to an initializer. The idea wasn''t received well, understandably, as generating a large initializer with new Rails apps is pretty unappealing. However, the core members seemed open to the discussion of alternatives continuing here. For those of you not in the know,
2007 May 24
2
Missing RspecScaffoldGenerator
Just a quick note that I had to make the following change after installing 1.0.2 as rails plugins to get the resource generator working: Index: rspec_scaffold_generator.rb =================================================================== --- rspec_scaffold_generator.rb (revision 2022) +++ rspec_scaffold_generator.rb (working copy) @@ -1,4 +1,4 @@ -class RspecResourceGenerator <
2008 Apr 15
0
Problem with creating custom generator
Hi, I''m trying to create a new generator class in my .rails/generators directory. Everything appears to be setup correctly but when I run ruby script/generate the generator doesn''t appear in the list. I''m running on Windows XP with Rails 2.0.2. My rails install is working fine (several apps running locally). Some details. * Home directory: C:\Documents and
2011 Jul 11
2
Can't get this Rspec test to pass
Hello, I''m completely new to Rspec testing and I''m finding it very difficult to mock specific objects. In this test, I have a before block setup as such: [code] before do setup_controller_for_warden controller.session[:operation_id] = 1 @operator = Factory :operator sign_in :operator, @operator @persist_herd = Herd.new