#1104 ✓resolved
Jordan Ritter

Model.reload does not reset dirty-ness

Reported by Jordan Ritter | October 22nd, 2009 @ 07:58 PM | in 0.10.2

Calling Model#reload results in a re-selecting of the original model data from the database (expected).

But, if Model#dirty? == true before Model#reload was invoked, still Model#dirty? == true. I'd expect it to be clean after a reload.

Repro script and output: https://gist.github.com/dd0ffe35fe47e5e9d26d

dm-core/next @ f1de567 (from today)

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

Pages