#173 ✓resolved
Aaron Wheeler

before_save saves even if false is returned

Reported by Aaron Wheeler | March 2nd, 2008 @ 07:08 AM

I've found that if I return false to either the before_save or before_create callback that the DataMapper instance still gets created. I've attached (and pastied: http://pastie.caboo.se/160065) the test that I've tried against 2.5 as well as Edge.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Pages