Changeset [c71674151f6e5f39d2208605b30e706af02a48a8] by Dan Kubb

October 27th, 2009 @ 01:22 AM

Fixed dirtiness tracking bug for unchanged attributes

  • Previously if a value was modified, then changed back to the original the resource would incorrectly be flagged as dirty. This is fixed.
  • Added specs for Resource#dirty_attributes
  • Added specs for Resource#original_attributes

[#1109 state:resolved]

Committed by Dan Kubb

  • M lib/dm-core/property.rb
  • M spec/public/property_spec.rb
  • M spec/semipublic/shared/resource_shared_spec.rb
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 »