similar to: Unnecessary Gem modules loaded under Rails 1.1.2

Displaying 20 results from an estimated 10000 matches similar to: "Unnecessary Gem modules loaded under Rails 1.1.2"

2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
This is the code: 1 require ''rubyful_soup'' 2 require ''open-uri'' 3 4 url = "http://www.google.com/search?q=ruby" 5 open(url) { 6 |page| page_content = page.read() 7 soup = BeautifulSoup.new(page_content) 8 result = soup.find_all(''a'', :attrs => {''class'' => ''l''}) 9 result.each {
2006 Nov 04
0
Weird exception
Hiall, I''m currently experiencing with javascript a lot, and I have some pretty messy code trying to handle some realtime validation issues. Although everything pretty much "works alright", i.e. does the right thing but all the time shows "A script on these page seems to be slow ..." dialogue. So my suspicion is that the trouble definitely starts in my code, however,
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup'' gem for HTML scouring, and the rails environment so I can access the database easily. I get the following error when trying to run this script. /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276: superclass mismatch for class
2006 Apr 30
1
no such file to load -- net/https
Hi, Came across the substruct project and decided to download and play with it. Am running rails 1.1.2 with ruby 1.8.4 on Ubuntu. I start webrick .. went to the admin section of the store. Create a product. Went to the store section and put this product in my cart and then clicked on checkout. I fill the form and submit it . I click on the "Finish Order" button and get the following
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System is windows XP and my attempts to connect with activerecord sql adapter and ADO.rb file failed miserably (I wrote a mail about it before) So it seems like odbc adapter is more recent compared to sql adapter and probably more used. I''m using active_record_store as session store, and probably the first
2006 Jul 22
1
How to debug this
Hello,I get this message and I don''t know how to interprete this.I think it has to do with plural tables and singular referencesThanks for any help!Jim======================================================================================uninitialized constant SubjectRAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: ======================================================== RuntimeError unknown symbol "gdImageSquareToCircle" RAILS_ROOT: /home/virtual/site1/fst/var/www/html/imodesite/public/../config/.. Application Trace | Framework Trace | Full Trace
2007 Dec 29
2
needs to have method `_load'
I''m getting an exception that I''m fairless clueless about. It occurs when I run a "create" action but neither my action or before filters are hit before this exception. I''m hoping someone can give me a clue. I suspect it has to do with marshalling objects in the session - maybe TzTime is not capable of being stored in the session. I hope that''s not the
2006 May 18
5
Uninitialized Constant in scaffold list page
I''m new to Ruby on Rails and just trying to get it up and running. I''m using RadRails, but I don''t think that matters for this problem. I''ve got a very basic app with one table and I used the scaffold generator for a table called datedgoals. The new page works fine, but then when it switches over to the list page, I get the errors below. Any idea how to fix
2006 Jun 14
5
uninitialized constant error after scaffold on new Windows XP environment
I am attempting to get a working Rails programming environment setup working under XP with MySQL, RadRails and Webrick. I have been using my PowerBook but need to working on Windows environment too. I have basic functions of Ruby and Rails going. I created a really simple table and generated the scaffolding. The server starts just fine. I can browse the database succesfully in RadRails. The issue
2006 Apr 10
0
TaskThis undefined method `remembrall_expires'' for #<User:0x
This happens before each login attempt. Please note that if I click on the refresh button of my browser I then login succesfully. Any hint? -- fabio vitale NoMethodError in AccountController#login undefined method `remembrall_expires'' for #<User:0x351f238> RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of ''invalid date''. For example, I have this happening: With the code Date.today, I get this error from Rails: - - - - - - - - - - ArgumentError in Student#show Showing app/views/student/show.rhtml where line #10 raised: invalid date Extracted source (around line #10): 7: <p> <%=
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
Hey Guys, I''m trying to upload a file to rails. I thought it would be pretty straightforward but I''ve run into a peculiar bug... the form I''m using is shown below and then the error message.... any suggestions or diagnostic hints would be appreciated. I''m running rails 2.0.2 and ruby 1.8.6 <form method="post"
2006 May 30
0
Problems when applying search to filter rows.
Hello, I am trying to create in the main Layout of the application fields of selection of fields of the model, and other to insert its value. Next I put a search button, with the idea to leak by the search in the view of the model where it executes this button. I have generated the views with ajaxscaffold. I do not know if what I try to do it does of this form or another one. My code is the
2006 Jun 05
1
file_column & RMagick
Hi, I have a site where I wish to upload a resize a picture, and store it in the file system. The best solution that I have found for this so far is using file_column. This was working great, for about an hour, but all of the sudden I began to get the following error (only when i attempt to resize). NameError (undefined method `assoc'' for class `Magick::ImageList''):
2006 Jul 12
0
Strange error
Has anyone ever experience this error? I''m not sure where to trace it back to. Showing usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/rescues/_request_and_response.rhtml where line #40 raised: wrong number of arguments (1 for 0) Extracted source (around line #40): 37: <p><b>Parameters</b>: <%=h request_dump ==
2006 Apr 17
7
Action Controller: Exception caught
Hi, I''m running the cookbook example from ONLamp.com. I have tried to test my site and it comes up with the the message on the site: ActiveRecord::StatementInvalid in RecipeController#index Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM recipes RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Apr 21
3
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
Hi I am a newbie to Ruby on Rails, but experienced in programming. I am trying out Rolling with Ruby on Rails article by Curt Hibbs on onlamp.com. I have encountered following error: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id I searched the archives of the list and found that similar question was left unanswered. I do understand from
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived?? I''m working on a shopping cart and have a table called sales_taxes (at first i named it taxes). I get the following error when i load the controller: uninitialized constant SalesTaxis RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace