At least Ruby makes things easy

def before_destroy 
    scores.each { |x| x.destroy }
end

A lot easier than deleting related objects in Java!

Spread the word: Technorati related  |  Technorati related  |  del.icio.us bookmark it!  |  submit At least Ruby makes things easy digg.com digg it!  |  reddit reddit!

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>