diff --git a/lib/rails_big_brother/model.rb b/lib/rails_big_brother/model.rb index b1d5d58..22d7d08 100644 --- a/lib/rails_big_brother/model.rb +++ b/lib/rails_big_brother/model.rb @@ -36,6 +36,7 @@ module RailsBigBrother unless changed_fields.empty? changed_fields_string = changed_fields.map do |f| f + ( + self.class.big_brother_options.has_key?(:verbose) && self.class.big_brother_options[:verbose].include?(f) ? ":#{send(f)}" : '') end.join(',') big_brother_log 'update', changed_fields_string