[LRUG] Updating activerecord associations without saving

Glenn Gillen glenn at rubypond.com
Thu Sep 23 07:07:04 PDT 2010


> this doesn't save the yfronts instance, sure, but it DOES null out the foreign key constraint on the 'boxers' row - thus rendering our customer underpantless untill they commit to wearing the yfronts 
> 
> I realise it's a bit of a corner case, but it seems like an unlikely bit of behavour.

It's not entirely suprising that between each pair or underpants the user goes commando ;)

Glenn




More information about the Chat mailing list