Laurent Sansonetti
lsans****@apple*****
Sun Feb 10 15:38:00 JST 2008
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