[rspec-users] Collection proxies need to be stubbed ?
brian at yamabe.net
Sun Jan 21 17:02:01 EST 2007
Sorry for continuing the divergence, but the design thoughts are very
Couldn't DDD and TDA be satisfied by:
On Jan 21, 2007, at 12:53 PM, Jay Levitt wrote:
> Francois Beausoleil wrote:
>> Adding #active_projects on User leads to a kind of namespace
>> pollution, no ? Really, who knows what projects are active ? The
>> Project class, or the User ?
> This seems to be a basic conflict between "Tell, don't ask" and
> domain-driven design. DDD, as I understand it, says the Project class
> should encapsulate all knowledge about projects; TDA says we shouldn't
> ask for the project proxy. Yes?
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users