On 10 Oct 2008, at 10:55, Peter Morris wrote:
>
> Well, what if the db constraints are stopping orphans being created,  
> when the AR:B code would allow it?
> That is hiding a problem in the AR:B that should be caught, right?


Only if it fails silently; in that case it's a framework bug and, I  
would submit, inadmissible evidence m'lud.  It ought to fail very  
loudly (and does in MySql with a  ActiveRecord::StatementInvalid:  
Mysql::Error).  I'd describe  that as highlighting rather than hiding  
the problem.


>
>>
>> +1 - said much better and more coherently than I could have done.
>>
>
> Yes, wholeheartedly agree (apart from where I have commented above)
>

:-)


----------------
Paul Wilson
http://merecomplexities.com

Scotland on Rails 26-28 March 2009
http://scotlandonrails.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to