Skip to content

Commit

Permalink
do not log :initial field changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Tello committed Aug 16, 2017
1 parent 03ec6d0 commit 9f9e596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logga/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Logga
module ActiveRecord
extend ActiveSupport::Concern

EXCLUDED_KEYS = [:created_at, :deleted_at, :updated_at, :log, :sent_photos_chaser_email, :sent_after_sales_emails]
EXCLUDED_KEYS = [:created_at, :deleted_at, :initial, :updated_at, :log, :sent_photos_chaser_email, :sent_after_sales_emails]
EXCLUDED_KEYS_SUFFIXES = [:_id, :_filenames]

included do
Expand Down

0 comments on commit 9f9e596

Please sign in to comment.