Eloy Duran
eloy.****@gmail*****
Thu Jul 5 16:14:48 JST 2007
Hello Russ, I will test this out later on today, thanks for the report. Eloy On 7/5/07, Russ McBride <russ****@psyex*****> wrote: > > I'm assuming this is a bug in active_record.rb, or maybe just in its > use in MailDemo--? I'm not sure until I can get a handle on what's > going on in active_record.rb. > > To recreate: > delete the last email (i.e,. the first and only email) from any > mailbox in the MailDemo. Results below. > > --russ > > > ------------------------------------------------------------------------ > ------------- > Email Destroy (0.000495) DELETE FROM emails > WHERE "id" = 1 > > 2007-07-04 18:23:00.614 MailDemoActiveRecordBindings[3333] > MailboxProxy#rbSetValue_forKey: NoMethodError: undefined method > `to_activerecord' for nil:NilClass > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/active_record.rb:332:in `rbSetValue_forKey' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/oc_wrapper.rb:50:in `ocm_send' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/oc_wrapper.rb:50:in `method_missing' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/active_record.rb:69:in `remove' > /Developer/Examples/RubyCocoa/MailDemo/MailDemoActiveRecordBindings/ > build/Release/MailDemoActiveRecordBindings.app/Contents/Resources/ > rb_main.rb:17:in `NSApplicationMain' > /Developer/Examples/RubyCocoa/MailDemo/MailDemoActiveRecordBindings/ > build/Release/MailDemoActiveRecordBindings.app/Contents/Resources/ > rb_main.rb:17 > 2007-07-04 18:23:00.615 MailDemoActiveRecordBindings[3333] > OSX::ActiveRecordSetController#remove: NoMethodError: undefined > method `to_activerecord' for nil:NilClass > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/active_record.rb:332:in `rbSetValue_forKey' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/oc_wrapper.rb:50:in `ocm_send' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/oc_wrapper.rb:50:in `method_missing' > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/ > osx/objc/active_record.rb:69:in `remove' > /Developer/Examples/RubyCocoa/MailDemo/MailDemoActiveRecordBindings/ > build/Release/MailDemoActiveRecordBindings.app/Contents/Resources/ > rb_main.rb:17:in `NSApplicationMain' > /Developer/Examples/RubyCocoa/MailDemo/MailDemoActiveRecordBindings/ > build/Release/MailDemoActiveRecordBindings.app/Contents/Resources/ > rb_main.rb:17 > /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/ > objc/active_record.rb:332:in `rbSetValue_forKey': undefined method > `to_activerecord' for nil:NilClass (NoMethodError) > from /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ > ruby/osx/objc/oc_wrapper.rb:50:in `ocm_send' > from /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ > ruby/osx/objc/oc_wrapper.rb:50:in `method_missing' > from /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ > ruby/osx/objc/active_record.rb:69:in `remove' > from /Developer/Examples/RubyCocoa/MailDemo/ > MailDemoActiveRecordBindings/build/Release/ > MailDemoActiveRecordBindings.app/Contents/Resources/rb_main.rb:17:in > `NSApplicationMain' > from /Developer/Examples/RubyCocoa/MailDemo/ > MailDemoActiveRecordBindings/build/Release/ > MailDemoActiveRecordBindings.app/Contents/Resources/rb_main.rb:17 > > MailDemoActiveRecordBindings has exited with status 1. > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel >