QueryProxyMethods¶
methods used to resolve association dependencies
Constants¶
Methods¶
- #each_for_destruction
Used as part of dependent: :destroy and may not have any utility otherwise. It keeps track of the node responsible for a cascading destroy process. but this is not always available, so we require it explicitly.
+ show/hide code
- #unique_nodes
This will match nodes who only have a single relationship of a given type. It’s used by dependent: :delete_orphans and dependent: :destroy_orphans and may not have much utility otherwise.
+ show/hide code