Eloy Duran
e.dur****@super*****
Mon Feb 11 18:49:15 JST 2008
Well I've started looking into this briefly, but haven't found the problem yet. But it seems that the cause is a difference between AR 1.15.3 & 2.0.2 which I use. So thanks for that info Kimura-san, because now I can finally reproduce them :) Eloy On 10 feb 2008, at 07:38, Laurent Sansonetti wrote: > I reproduce these problems too. > > Eloy, do you have an idea? > > At a glance, > > @record.class.reflect_on_all_associations.each { |assoc| return > true if assoc.name == key_sym } > # @record is nil, raising NoMethodError: undefined method > `reflect_on_all_associations' for NilClass > > Laurent > > On Feb 9, 2008, at 10:31 PM, kimura wataru wrote: > >> Hi, >> >> In RubyCocoa trunk(r2188), >> tests/tc_active_record.rb fails with Leopard(10.5.1) ruby and rails. >> >> % /usr/bin/ruby --version >> ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0] >> % % /usr/bin/rails --version >> Rails 1.2.6 >> % /usr/bin/ruby install.rb config >> % /usr/bin/ruby install.rb setup >> % /usr/bin/ruby install.rb test --test-args='--testcase=/ >> TC_ActiveRecord.*/' >> 25 tests, 5 assertions, 0 failures, 22 errors >> test failed >> >> MacPorts ruby and rails reports failure, too. >> >> % /opt/local/bin/ruby --version >> ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.1.0] >> % /opt/local/bin/rails --version >> Rails 1.2.3 >> % /opt/local/bin/ruby install.rb config --build-universal=no >> % /opt/local/bin/ruby install.rb setup >> % /opt/local/bin/ruby install.rb test --test-args='--testcase=/ >> TC_ActiveRecord.*/' >> 25 tests, 5 assertions, 0 failures, 22 errors >> test failed >> >> _______________________________________________ >> Rubycocoa-devel mailing list >> Rubyc****@lists***** >> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel