We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4dea2b + 6f9fa1e commit c51aee5Copy full SHA for c51aee5
1 file changed
lib/paper_trail/record_trail.rb
@@ -421,7 +421,8 @@ def habtm_assoc_ids(habtm_assoc)
421
422
def log_version_errors(version, action)
423
version.logger.warn(
424
- "Unable to create version for #{action} of #{@record.class.name}##{id}: " +
+ "Unable to create version for #{action} of #{@record.class.name}#" +
425
+ "#{@record.id}: " +
426
version.errors.full_messages.join(", ")
427
)
428
end
0 commit comments