File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
2424
2525### Fixed
2626
27+ - [ #889 ] ( https://github.com/airblade/paper_trail/pull/889 ) -
28+ Fix warning message in instances when a version can't be persisted due to validation errors.
2729- [ #868 ] ( https://github.com/airblade/paper_trail/pull/868 ) -
2830 Fix usage of find_by_id when primary key is not id, affecting reifying certain records.
2931
Original file line number Diff line number Diff line change @@ -421,9 +421,8 @@ def habtm_assoc_ids(habtm_assoc)
421421
422422 def log_version_errors ( version , action )
423423 version . logger . warn (
424- "Unable to create version for #{ action } of #{ @record . class . name } #" +
425- "#{ @record . id } : " +
426- version . errors . full_messages . join ( ", " )
424+ "Unable to create version for #{ action } of #{ @record . class . name } " +
425+ "##{ @record . id } : " + version . errors . full_messages . join ( ", " )
427426 )
428427 end
429428
You can’t perform that action at this time.
0 commit comments