search for: esimplycontrol

Displaying 3 results from an estimated 3 matches for "esimplycontrol".

2006 Mar 22
2
RubyGem loading into a controller (High quality question)
...9;'rubyful_soup'' Successfully installed rubyful_soup-1.0.4 Installing RDoc documentation for rubyful_soup-1.0.4... 1) I have a controller. The first 4 lines are: require ''rubygems'' require_gem ''rubyful_soup'', ''>= 1.0.4'' class ESimplyController < ApplicationController 2) In this controller I have a method. Here it is: public def index parser = BeautifulSoup.new(String.new "test") #Establish the parse tree end When I execute this action, I get: "uninitialized constant BeautifulSoup" which basically t...
2006 Apr 24
7
Controller can''t find helper?????!!!!!????
I have a controller named xyzController under app/controllers I have a helper class named xyzHelper under app/helpers. Shouldn''t I be able to call methods from xyzHelper inside of xyzController without any problems? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
...particular controller, I keep getting a ENOENT (file not found) error on a custom config. file that I am attempting to load. What I can''t figure out is why it can''t find the file. Here''s the code that loads it in my controller: require ''yaml'' class ESimplyController < ApplicationController @@config = "" @@config = YAML.load_file("config/eSimplyConf.yml") This setup works fine in my development environment. When this code gets called, I get the following error in my test.log file: Errno::ENOENT (No such file or directory - conf...