aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-03-12 14:13:09 -0400
committerGitHub <noreply@github.com>2019-03-12 14:13:09 -0400
commit1816c4f659a113b29f61a0156560f03ce9340937 (patch)
tree898cb69ec8498392ebea129d787442fc59775fff /activemodel/CHANGELOG.md
parent6d7c4ae6c35b5e3e7689c5a8cb549d94603467b2 (diff)
parent5289a0b6b9235d2b9a5c01d5539a9df369953824 (diff)
downloadrails-1816c4f659a113b29f61a0156560f03ce9340937.tar.gz
rails-1816c4f659a113b29f61a0156560f03ce9340937.tar.bz2
rails-1816c4f659a113b29f61a0156560f03ce9340937.zip
Merge pull request #35585 from sharang-d/changelog-update
Edit a changelog entry [ci skip]
Diffstat (limited to 'activemodel/CHANGELOG.md')
-rw-r--r--activemodel/CHANGELOG.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/activemodel/CHANGELOG.md b/activemodel/CHANGELOG.md
index d7586f60ed..71e56e2522 100644
--- a/activemodel/CHANGELOG.md
+++ b/activemodel/CHANGELOG.md
@@ -1,10 +1,9 @@
-
-* Changed how validation error translation strings are fetched: The new behaviour
+* Change how validation error translation strings are fetched: The new behavior
will first try the more specific keys, including doing locale fallback, then try
the less specific ones.
- For example this is the order keys will now be tried for a `blank` error on a
- `product`'s `title` attribute with current locale set to `en-US`:
+ For example, this is the order in which keys will now be tried for a `blank`
+ error on a `product`'s `title` attribute with current locale set to `en-US`:
en-US.activerecord.errors.models.product.attributes.title.blank
en-US.activerecord.errors.models.product.blank