search for: nactiverecord

Displaying 1 result from an estimated 1 matches for "nactiverecord".

Did you mean: activerecord
2009 Jul 14
4
[ActiveRecord::Base].collect {|a,b| ...} weirdness
...sses with which I see this behaviour and furthermore it seems to be limited to Ruby 1.9.1. Mayday! Thanks, Niels (about to dig into array.c) $ ruby --version; rails --version; ruby <<EOR require "rubygems" gem "activerecord" require "activerecord" puts "\nActiveRecord::Base disappears:" [1,String,''foo'',ActiveRecord::Base].collect {|a,b| puts [a,b].inspect} puts "\nActiveRecord::Base stays:" [1,String,''foo'',ActiveRecord::Base].collect {|a| puts [a].inspect} puts "\nwtf?" EOR ruby 1.9.1p129 (2009-05-1...