search for: const_load

Displaying 15 results from an estimated 15 matches for "const_load".

Did you mean: conf_load
2007 Apr 11
5
WIN32OLE MS Word Help
Hi all, I am trying to create word document in ruby using WIN32OLE. as.. require ''win32ole'' word = WIN32OLE.new("Word.Application") word.visible = true word.documents.add selection = word.selection word.Selection.TypeText "This is some text." ... .. . Can we set header and footer to document? I want to generate a document such that its header contains an
2005 Dec 21
1
Table called applications - causes stack overflow?
...ms/activesupport-1.2.4/lib/active_support/dependencies. rb:178:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies. rb:134:in `load_file!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies. rb:97:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies. rb:80:in `each'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies. rb:80:in `const_load!'' ... /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_suppor...
2006 Mar 14
2
no such file to load -- login_system
...tivesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in `prepare_application'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `disp...
2006 Mar 02
1
web serveces problem
....5/lib/active_support/dependencies.rb:178:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'' routing.rb:234:in `traverse_to_contr...
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
...`require_dependency'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:134:in `load_file!'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:97:in `const_load!'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:80:in `each'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:80:in `const_load!'' /usr/...
2005 Apr 06
3
NameError in <controller not set>#<action not set>
...support-1.0.3/lib/active_support/dependencies.rb:165:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:121:in `load_file!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:90:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:76:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/a...
2006 Jan 28
1
referencing a table
.../gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'' routing.rb:234:in `traverse_to_controller'' generated/...
2005 Aug 06
0
Re: Error when going to Fastcgi.
...b/ active_support/dependencies.rb:171:in `require_dependency'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ active_support/dependencies.rb:127:in `load_file!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ active_support/dependencies.rb:96:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ active_support/dependencies.rb:79:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ active_support/dependencies.rb:79:in `const_load!'' /usr/local/lib/ruby/gems/1.8/gems/active...
2006 Jan 18
1
Another uninitialized constant question
Guys, I''m trying to generate a scaffold to admin a table called hangars. I''d like the controller to fall with an "admin" sub-module. I used the command: script/generate scaffold Hangar Admin::Hangar This seemed to work, and placed the controller in controllers/admin/hangar_controller.rb, where I expected to find it. It also created the hangar.rb model in
2006 Apr 11
18
Rails 1.1 in Production
...y vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method `const_load!'' for Controllers:Module): /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in `prepare_application'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handl...
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and views and I cannot figure out how to do that. Googling hasn''t turned up anything useful and I''m looking at the PickAxe book, and I get the impression that a constant must belong to a class. If I just want a constant like... CompanyPhoneNo = "(602) 999-9999" and be able to use it in any view
2006 Apr 10
0
Problem with freezing rails to vendor/rails
...ll using the locally installed gem versions of Rails on TXD. Running svn propget svn:externals vendor returns: rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/ Here is the error I''ve been getting (app started using the TXD rails.sh script): NoMethodError (undefined method `const_load!'' for Controllers:Module): /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in `prepare_application'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_han...
2006 Jan 10
13
InstantRails 1.0 problems...
Hi, I have installed InstantRails 1.0 Final on Win XP (Home SP2) and Win 2K 2000. I was able to get the two apps (cookbook, typo) work fine with Webrick but not with SCGI server. I tried changing the SCGI settings through the InstallRails.exe console so that the Runtime Mode: would be "development" instead of "production" and SCGI port: to 5000 instead of 9998.
2006 Mar 07
17
Handling Erros from AWDWR
...tivesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in `prepare_application'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in `disp...
2005 Dec 30
6
Unable to get the domain in my routes.rb to map custom route tables per domain
I have tried all night trying to find a way to get the host name which is currently being used within my routes.rb file to do some case/when switching for specific domains such as this cgi = ActionController::CgiRequest.new(CGI.new) case cgi.domain(1) when /www/ map.connect '''', :controller => ''public'', :action => ''index'' when