chickadee » orm » model-hooks-clear!

model-hooks-clear! hooks #!optional eventprocedure

Remove the hooks for event, or all hooks when event is omitted. Primarily useful for test isolation, since a model's registry is global mutable state shared across a test file.