Hi
The discussion among me, David, Michael, and Pat got me thinking.
Specifically this by Michael:
Just my $0.02, but I really like specs to be treated as
specifications for what SHOULD be happening, not pretending other
code is different than it is.
This made me think the real solution is for ActiveRecord/A N Other ORM
to declare that its associations are proxies and not arrays. But
that's *terrible*, because it's encouraging users to manipulate the
ORM objects' structures.
So what if you flatly make all associations private? Is this a good
idea? Has anyone tried it?
Ashley
--
http://www.patchspace.co.uk/
http://aviewfromafar.net/
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users