similar to: needs to have method `_load'

Displaying 20 results from an estimated 10000 matches similar to: "needs to have method `_load'"

2007 Mar 01
1
ActiveRecord::StatementInvalid error
When I try to run my webserver in the production environment I just get an application error message. This is all I can find in the log: ActiveRecord::StatementInvalid /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/ connection_adapters/sqlite_adapter.rb:274:in `table_structure'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
2008 Feb 20
2
Rails Edge ActiveSupport::TimeWithZone and Marshalled objects
Hello all, I''m trying to use the new ActiveSupport::TimeWithZone from Edge. The problem seems to be that I have a several-action process to create a Booking. This Booking is stored in the session (session[:booking] = @booking) throughout the actions until the last action is reached and the record is saved to the DB. Using TimeWithZone seems to be producing errors when trying to
2006 Jan 04
3
Intermittent problem with link_to_remote()
Hi folks, My page displays links for ''categories'' using the link_to_remote() function. Clicking on one of these links goes to the controller and returns any child categories. I''m finding that the page works ok but after a number of clicks (average 5 or so), it crashes with an error: ============================================== Processing Base#index (for
2006 Apr 03
2
no marshal_dump is defined for class Proc
Hello ~ This problem has me puzzled. When users login to my rails app I have the session set up to be stored in the MySQL database for the app. Intermittently, users will get the following error: no marshal_dump is defined for class Proc D:/apps/xampp/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session/active_record_store.rb:81:in `dump''
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using CalendarHelper works fine. Then I tried to test using rake command which gave me the following error. Why does these messages appear evenif the application owrks fine. ------------------------------ Error Messags -------------------------------------- /usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2008 Feb 15
3
Ajax problem with rails 2.0.2 - frozen string?
I am deploying a new rails application on a shared host (hostingrails) for the first time. My local app works great. However, Ajax requests in the deployed application are generating the following error: /!\ FAILSAFE /!\ Fri Feb 15 08:44:59 -0600 2008 Status: 500 Internal Server Error can''t modify frozen string /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
2008 Jun 21
5
RJS can't modify frozen string
Any ideas why RJS would start causing "can''t modify frozen string" errors? This was working last night and I''m not sure what could have been changed to cause this. The app is on a VPS not shared hosting. /!\ FAILSAFE /!\ Fri Jun 20 20:13:37 -0700 2008 Status: 500 Internal Server Error can''t modify frozen string
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then I get an ActiveRecord error, I cannot reproduce exactly what triggers it, hope you can help me, or give me tips on debugging this kind of stuff. This time I got the error reporting page, but normally I would just see the 500.html page, with no info about what went wrong. This is the error (it''s the complete
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf: FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env RAILS_ENV=prod uction -processes 5 -idle-timeout 60 <virtualhost 212.87.142.234:80> ServerName www.gissmoh.de DocumentRoot /var/www/gissmoh.de/public CustomLog /var/log/apache2/gissmoh.de/access.log combined SetEnv RAILS_ENV production
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the log/production.log: Please help, thnx. /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010 Status: 500 Internal Server Error No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38 +0200 2010)
2006 Jun 21
7
sortable tree problem
Hello, I''m having a problem when I set the tree option to true on Sortable. If I set the option to false my remote call works fine, but once I set it to true, I get some weird log errors from Webrick... undefined method `update'' for "11":String /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash''
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>" when I tried to run my rails application after installing will_paginate. Details are as below: undefined method `page_count'' for #<Array:0xb7073e1c> Extracted source (around line #7): 4: <%= a.text%> 5: <% end %> 6: 7: <%= will_paginate @announcements,
2006 Apr 17
3
help debugging an error
Hi, I''ve started getting an error I can''t debug. The error doesn''t generate anything in my development log. A breakpoint set right at the beggining of the controller method does not get triggered. It happens on a form submission. I can make changes to the object model from with the console, but not on this form submission. I thought maybe it was routing, because I have
2006 Aug 02
4
Disc quota exceeded when attempting to write session
Hi All, When trying to write sessions file, I''m getting disc quota errors. Looking into the sessions folder, I see: -rw------- 1 www www 188 Aug 2 21:03 ruby_sess.d39a2c77b4750b72 -rw-r--r-- 1 www www 0 Aug 2 21:03 ruby_sess.d39a2c77b4750b72.tmp I''m guessing the the tmp should not be there, as it does not show on my dev setup. I''m using rails (1.1.1)
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi , I want realize a web service with rails, but it''s the response it''s very slow. I want only saw all element present in my base. I did a base Customers (with element like id, name, phone,...). I added two elements. I did a model customer, a web_service customer. In the file /app/apis/customer_api.rb class CustomerApi < ActionWebService::API::Base api_method :listid,
2006 Mar 29
5
MySQL losts connection, can''t refer to User
Hi Another problem here. After the upgrade to 1.1 both rails and engines, my app on windows crashes very often on requests. It can''t refer to User model or losts connection to mysql. It appears like 2-3 times per 10 requests. Eg. Mysql::Error: Lost connection to MySQL server during query: UPDATE sessions SET `data` =
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All, I''m trying to do a simple form_for (and I also get it with form_tag) and I''m getting the following error: ActionView::TemplateError (No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own keys (Cookie Session Store).) on line #2 of users/new.fbml.erb: 1: <h1>Welcome To Courses, Let''s Get
2008 Aug 26
6
Rails deployment issue... no such file or directory - getcwd? huh?
Everything works fine locally but when I deploy I get this: Errno::ENOENT (No such file or directory - getcwd): /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:78:in `expand_path'' /vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:78:in `require_or_load''
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15. Here are the errors: gregg@gregg2 ~/user/DMS $ rake test (in /home/gregg/user/DMS) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:2: warning: method redefined; discarding old []= /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:11: warning: method
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
Hi all, I am trying to reproduce rails 3.2 behaviour with fields_for and nested attributes. class ControllerAction < ActiveRecord::Base has_many :interactions, dependent: :destroy has_many :roles, through: :interactions scope :controllers, lambda {|name| where("controller_name_id = ?", name)} scope :actions, lambda {|name| where("action_name_id =