lib/ninja_model/persistence.rb in ninja-model-0.9.6 vs lib/ninja_model/persistence.rb in ninja-model-1.0.0
- old
+ new
@@ -1,10 +1,10 @@
module NinjaModel
module Persistence
extend ActiveSupport::Concern
included do
- define_model_callbacks :save, :create, :update, :destroy
+ define_model_callbacks :save, :create, :update, :destroy, :reload
end
module InstanceMethods
def save(*)
run_callbacks :save do