mandubian/play-siena — pull request #12 by rlindooren (2012-03-07 09:14:44+00:00)
Title: Save entity instead of inserting in method validateAndSave()

Hi,

I'm new to the Play framework and Siena. But something I noticed will writing a test is that a new record was inserted every time I called validateAndSave() on an entity. Perhapse it is more clear to call this.save() from within this method and create a separate validateAndInsert() method?

Best regards,

Ricardo