Changeset [98ae7a1a4f95e23a836a1e3e3d36d33bffd5d51b] by Dan Kubb
May 21st, 2010 @ 04:28 PM
Moved guard clauses for state transition into State #commit methods
- Update state objects to handle setting the FKs directly.
- Make sure the child key changes if the parent key changes.
[#1284 state:resolved] http://github.com/datamapper/dm-core/commit/98ae7a1a4f95e23a836a1e3...
Committed by Dan Kubb
- M dm-core.gemspec
- M lib/dm-core/resource.rb
- M lib/dm-core/resource/state.rb
- M lib/dm-core/resource/state/dirty.rb
- M lib/dm-core/resource/state/transient.rb
- M spec/semipublic/resource/state/dirty_spec.rb
- M spec/semipublic/resource/state/transient_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »