search for: traverse_to_controller

Displaying 12 results from an estimated 12 matches for "traverse_to_controller".

2006 Mar 02
1
web serveces problem
...7: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_controller'' generated/routing/recognition.rb:7:in `eval'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'' generated/routing/recognition.rb:7:in `recognize_path'' /usr/local/lib/ruby/gems/1.8...
2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks, I need your opinions on a basic design issue. I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web server <-> RDBMS communication with RoR, but I still have a whole host of users (other servers/OS''s etc) out there wanting to talk to my RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI directly (they are not allowed
2005 Aug 06
0
Re: Error when going to Fastcgi.
...b: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/activesupport-1.1.1/lib/ active_support/dependencies.rb:71:in `const_missing'' routing.rb:219:in `traverse_to_controller'' generated/routing/recognition.rb:3:in `eval'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/ action_controller/routing.rb:219:in `traverse_to_controller'' generated/routing/recognition.rb:3:in `recognize_path'' /usr/local/lib/ruby/gems...
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 Jan 20
2
what''s the right way to require a file?
...ocal/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem'' ./script/../config/../../lib/plot_utils.rb:2 ./script/../config/../../lib/predictor_classes.rb:9 ./script/../config/../lib/model_pathway_object.rb:6 ./script/../config/../app/controllers/model_pathway_controller.rb:1 routing.rb:234:in `traverse_to_controller'' generated/routing/recognition.rb:7:in `eval'' generated/routing/recognition.rb:7:in `recognize_path'' This error occured while loading the following files: script/../config/../app/controllers/model_pathway_controller.rb model_pathway_object predictor_classes...
2006 Jun 26
9
Form Mail
What is the most RoR friendly way of making a form mailer similar to this php one? http://tips-scripts.com/?tip=form_mail#tip Or is it easier just to use the php with RoR? -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
.../activesupport-1.3.1/lib/active_support/dependenc ies.rb:98:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependenc ies.rb:131:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing. rb:237:in `traverse_to_controller'' generated/routing/recognition.rb:30:in `eval'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing. rb:237:in `traverse_to_controller'' generated/routing/recognition.rb:30:in `recognize_path'' /usr/lib/ruby/gems/1.8/gems/acti...
2006 Apr 07
0
Routing requests to a default controller module
...; "DefaultModule::#{controller}" map.connect '':controller/:action/:id'' ...except I made up the first line. Is there any way to do this (easily or otherwise)? I was digging around in action_controller/routing.rb and I figure I might be able to make a modification to traverse_to_controller to do this. JD -- Posted via http://www.ruby-forum.com/.
2006 Jan 28
1
referencing a table
...e_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/routing/recognition.rb:3:in `eval'' generated/routing/recognition.rb:3:in `recognize_path''
2006 Mar 07
4
Controllers More Than One Sub-Directory Deep?
Does anyone know how to make Rails aware of controllers that might exist in directories that exist deeper than one level under the app/controllers directory? I initially figured just adding additional scope information might do the trik (i.e. Tabs::Admin::OneController or Admin::Tabs::OneController), but that does not seem to work. I''m guessing that I can just manually add these
2006 Mar 10
0
WEBrick crashing
...0 WEBrick::HTTPRequest#read_ body 0.00 6.55 0.00 2 0.00 0.00 Thread#current 0.00 6.55 0.00 1 0.00 47.00 ActiveRecord::Base#reset_s ubclasses 0.00 6.55 0.00 1 0.00 0.00 ActionController::Routing: :ControllerComponent#traverse_to_controller 0.00 6.55 0.00 1 0.00 16.00 ActiveRecord::Base#subclas ses 0.00 6.55 0.00 1 0.00 2688.00 Reloadable.reloadable_clas ses 0.00 6.55 0.00 1 0.00 0.00 WEBrick::HTTPRequest#fixup 0.00 6.55 0.00 18 0.00...
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
I recently upgraded to 1.8.4 to try out mongrel, and so far have been in a kind of hell where I can''t get my app working! Currently running (or trying to run): Ruby version 1.8.4 (i386-mswin32) RubyGems version 0.8.11 Rails version 1.0.0 Active Record version 1.13.2 Action Pack version 1.11.2 Action Web Service version 1.0.0 Action Mailer version 1.1.5 Active Support version