lib/neo4j/shared/callbacks.rb in neo4j-5.2.11 vs lib/neo4j/shared/callbacks.rb in neo4j-5.2.12
- old
+ new
@@ -8,10 +8,10 @@
end
included do
include ActiveModel::Validations::Callbacks
define_model_callbacks :initialize, :find, only: :after
- define_model_callbacks :save, :create, :update, :destroy
+ define_model_callbacks :save, :create, :update, :destroy, :touch
end
def destroy #:nodoc:
tx = Neo4j::Transaction.new
run_callbacks(:destroy) { super }