lib/active_graph/shared/callbacks.rb in activegraph-10.0.0.pre.beta.11 vs lib/active_graph/shared/callbacks.rb in activegraph-10.0.0
- old
+ new
@@ -7,10 +7,10 @@
include ActiveModel::Callbacks
end
included do
include ActiveModel::Validations::Callbacks
- # after_find is triggered by the `find` method defined in lib/neo4j/node/id_property.rb
+ # after_find is triggered by the `find` method defined in lib/active_graph/node/id_property.rb
define_model_callbacks :initialize, :find, only: :after
define_model_callbacks :create_commit, :update_commit, :destroy_commit, only: :after
define_model_callbacks :save, :create, :update, :destroy, :touch
end