similar to: Intermittent error - undefined method ''destroy_without_callbacks''

Displaying 20 results from an estimated 3000 matches similar to: "Intermittent error - undefined method ''destroy_without_callbacks''"

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
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...
2005 Dec 31
6
habtm recursion via destroy_without_callbacks
I am having a problem with two models that each have a HABTM relationship to the other. For example: CREATE TABLE people (id INT, name TEXT); CREATE TABLE teams (id INT, name TEXT); CREATE TABLE people_teams (person_id INT, team_id INT); The person model has: has_and_belongs_to_many :teams And the team model has: has_and_belongs_to_many :people The trouble comes when trying to destroy
2005 Jul 07
3
NameError Exception
Ruby/Rails n00b here so go easy on me... I''ve been wracking my brain trying to figure out what is wrong here. I''ve checked all my models for the appropriate belongs_to, has_many, etc. I''ve checked to make sure I''m using singular and plurals in the right spot. I''ve checked my syntax around all my "within"''s and nothing seems to fix
2005 Feb 02
1
Error when changing from AR 1.0.1 to 1.6
Hello, I have the following output when changing form Active Record 1.0.1 to ActiveRecord 1.6: [error] C:/dev/ruby/lib/ruby/gems/1.8/gems/actionpack-1.4.0/lib/action_controller/support/dependencies.rb:24:in `depend_on'': uninitialized constant ActiveRecord::Mixins (ScriptError)\r [error] \tfrom
2006 Mar 31
1
Active Record: subclassing a model
Hi there, I have a model class Account < ActiveRecord::Base has_many: projects The accounts table holds company information so as I created another model to represent project partners thus: class Partner < Account has_and_belongs_to_many :projects #project.account pulls up the project owner and #project.partners pulls up all partners, including the owner. Now, this all seems to
2006 Feb 26
6
Having trouble getting Edge Rails running
Hello, I''ve been playing with this for hours, and got through a couple glitches (e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b skills. When trying to run script/server I get: ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:87:in `as_load_path'': stack level too deep (SystemStackError) from
2006 Mar 21
2
r3981 causes SystemStackError
http://dev.rubyonrails.org/changeset/3981 ?!? The changes are a rename of RailsInfoController to Rails::InfoController. That seems to be completely unrelated to this error: $ ruby script\server => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:121:in `underscore': stack level too deep (SystemStackError) from
2006 Mar 01
1
Circular dependency problem
Hello, I use rails 1.0 It seems that i encounter a circular dependency problem, and i can''t manage to solve it. With the following models class Customer < ActiveRecord::Base has_and_belongs_to_many :projects end class Project < ActiveRecord::Base has_and_belongs_to_many :customers end And a file test.rhtml containg only <%= Customer.count %> I get the following
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2 with fcgi. With any action I try, it throws an exception saying it can''t find the source file. For instance, requesting an action in my welcome_controller results in: MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb The log
2006 Mar 12
2
engines in edge
Hi, Engines is not working correctly for me with edge. I get: vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'':NoMethodError: undefined method `log'' for Engines:Module I tried playing with Engines.create_logger at the end of config/environment.rb, but without success. ANy ideas ? PS: the Mailing List pages on rails-engines.org is empty :/ --
2006 Mar 22
1
Engine Trouble With Edge
First off, yes, I did follow the "Using Engines With Edge Rails" post on the Engines wiki. So here''s my problem. In ActiveSupport 1.2.5, there was a class called RootLoadingModule which had a parent class LoadingModule in activesupport/lib/active_support/dependencies.rb ie. RootLoadingModule < LoadingModule < Module My problem is that there is no RootLoadingModule
2006 Sep 20
0
boy, that mongrel_upload_progress handler sucks!
I started actually using the upload progress handler, and noticed it was leaking memory over time. Looking at the code, I noticed that cancelled uploads weren''t being cleaned up. I bugged Zed about adding a request_abort callback to handlers, but I found a simple way to monkey patch that in: # config/mongrel_upload_progress.conf # yes, this file is being used with -S meaning
2006 Feb 28
0
ActiveRecord: Legacy primary keys
Hi, I''m building a frontend for a legacy schema, with tables like this: CREATE TABLE `types` ( `a_type_cd` varchar(6) NOT NULL default '''', `a_type` varchar(30) NOT NULL default '''', PRIMARY KEY (`a_type_cd`) ); The primary key is specified by the user (not auto-generated), and needs to be updateable. I create the following a base class to
2005 Nov 04
0
Dispatch error on textdrive
Any ideas what coule be causing this error when I run dispatch.cgi? xxx@gilford$ ./dispatch.cgi /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/request.rb:13:in `method'': undefined method `downcase'' for nil:NilClass (NoMethodError) from /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.10.2/lib/action_controller/request.rb:23:in `post?''
2005 Dec 20
0
Problem destroying in unit tests with HABTM
Hi converted two of my models to HABTM today but I am having a real hard time getting my unit tests to pass now. Specifically, when I destroy a record I get this error: ...many many lines of this above... (eval):4:in `destroy_without_habtm_shim_for_categories'' (eval):4:in `destroy_without_habtm_shim_for_categories'' (eval):4:in
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps: $ rake db:migrate --trace rake aborted! Don''t know how to build task ''db:migrate'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:1728:in `[]'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2050:in `invoke_task''
2009 Apr 06
1
Seeking help with basic installation
Hi all, Please help me.In my first attempt to creat a simple controller and working with hello world program.I got some error though I have my action and view correctly....... In general..When I type http://localhost:3000/ I can get the welcome page.But when I see the "About your application Envinorment"..I get some error as following.. MissingSourceFile in
2008 Feb 07
2
FAILSAFE error with uploads
I''ve just upgraded a production web site with some new code to handle file uploads, using both the standard post technique and swfupload. This code was working perfectly in my development environment, and I''m not sure what I should ever start to look for. Here''s the stack dump: /!\ FAILSAFE /!\ Wed Feb 06 19:13:41 -0700 2008 Status: 500 Internal Server Error
2006 May 04
2
validates* give me problems
Hi All, I''m newbie to this tool and following some tutorials I''ve came across with this problem when configuring my webpage: In Debian/testing, ruby1.8, rails1.1 I create my audio application which connects to a database (mysql) named audio with tables: articulos(id,titulo,descripcion,created_on,categoria_id) and categorias(id,titulo) after creating and modifying the