We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d370fef commit f591033Copy full SHA for f591033
lib/dfe/analytics/entities.rb
@@ -10,8 +10,9 @@ module Entities
10
11
after_create_commit do
12
extracted_attributes = DfE::Analytics.extract_model_attributes(self)
13
+ object_id = self.object_id
14
send_event('create_entity', extracted_attributes) if extracted_attributes.any?
- Rails.logger.info("Entity created with attributes: #{self}")
15
+ Rails.logger.info("Entity created with attributes: #{self}, #{object_id}")
16
Rails.logger.info("Entity created with attributes: #{extracted_attributes}")
17
end
18
0 commit comments