spec/dummy/dummy.rb in amfetamine-0.2.3 vs spec/dummy/dummy.rb in amfetamine-0.2.4

- old
+ new

@@ -10,11 +10,13 @@ after_create :action_after_create before_save :action_before_save after_save :action_after_save + before_validation :action_before_validate + # Needed for proper ID tracking def initialize(args={}) @@children << self super(args) end @@ -33,8 +35,11 @@ def action_before_save end def action_after_save + end + + def action_before_validate end end