[ci skip] Little bit doc code improvement.
Merge pull request #16156 from mechanicles/document-improvement

[ci skip] Improve documentation consistency for ActiveModel::Errors