snusnu/dm-is-awesome_set — pull request #1 by FND (2011-10-13 08:06:35+00:00)
Title: Fix use of destroy hooks

INSTANCE_HOOKS returned an empty hash, leading to NoMethodError

note that this is a very naive fix (and test), as I don't really understand the internals yet

also note that there appear to be two (pre-existing, i.e. unrelated to this commit) failing assertions in "DataMapper::Is::AwesomeSet without active DM Identity Map moves scope properly with relationships" (tested with SQLite, MySQL and Postgres using the "release-1.2" branches of all DataMapper dependencies)