aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-12-31 14:14:29 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-02 22:27:02 +0100
commit7cc0a4cfa1d18c011d6e41f57d25eb10ed018eba (patch)
tree36e56a57e7aad463213c038dd8a2848e5cb94c48 /activerecord
parent5fdd0e80a4db778268e80435b471090cb14f7229 (diff)
downloadrails-7cc0a4cfa1d18c011d6e41f57d25eb10ed018eba.tar.gz
rails-7cc0a4cfa1d18c011d6e41f57d25eb10ed018eba.tar.bz2
rails-7cc0a4cfa1d18c011d6e41f57d25eb10ed018eba.zip
Use activerecord.errors.format as in Rails 2.3.5.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/locale/en.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/locale/en.yml b/activerecord/lib/active_record/locale/en.yml
index 092f5f0023..e33d389f8c 100644
--- a/activerecord/lib/active_record/locale/en.yml
+++ b/activerecord/lib/active_record/locale/en.yml
@@ -1,6 +1,9 @@
en:
activerecord:
errors:
+ # model.errors.full_messages format.
+ format: "{{attribute}} {{message}}"
+
# The values :model, :attribute and :value are always available for interpolation
# The value :count is available when applicable. Can be used for pluralization.
messages: