[rspec-users] associations not arrays

Jerry West jerry.west at ntlworld.com
Sat Feb 24 13:39:47 EST 2007


Ah.  A quick google reveals more of the mystery..

"The target of AssociationProxy is not always an instance of Array. For
  example, for BelongsToAssociation it's a ActiveRecord::Base instance."

  http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/143483

Rgds, Jerry


More information about the rspec-users mailing list