snusnu/dm-is-awesome_set — pull request #2 by tillsc (2012-02-28 14:35:29+00:00)
Title: Protect parent= setter method

This marks the :parent= method protected.

Tested with:
ADAPTER=mysql
GIT_BRANCH=release-1.2

The 'moves scope properly with relationships' spec (which has nothing to do with my changes) failed before my changes and still does. I debugged this a little bit and broke it down to the following line:
https://github.com/snusnu/dm-is-awesome_set/blob/master/lib/dm-is-awesome_set.rb#L426
The `update!` returns true but doesn't change the record. Seems to me like a dm-core bug.