Exception class raised when a before_* hooks returns a false value when saving or destroying a Treequel::Model object.
The hook that failed
Create a new Treequel::BeforeHookFailed
exception that indicates that the specified
hook returned a
# File lib/treequel/exceptions.rb, line 57 def initialize( hook ) @hook = hook.to_sym super "The 'before' hook failed when trying to %s" % [ hook ] end