diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-01-31 14:10:23 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-01-31 14:10:23 -0800 |
commit | 6b4a5952d3952ffc98173626e8d76e73e6140e3a (patch) | |
tree | d7f66e9a07e32e15a33035688fc65e0b00a0cefa /activemodel/lib | |
parent | dd53c0679d307378cfd7fadc67a5c180f2a61562 (diff) | |
parent | 9a6c6c6f094ce965cc251865bdc1828bc4f38039 (diff) | |
download | rails-6b4a5952d3952ffc98173626e8d76e73e6140e3a.tar.gz rails-6b4a5952d3952ffc98173626e8d76e73e6140e3a.tar.bz2 rails-6b4a5952d3952ffc98173626e8d76e73e6140e3a.zip |
Merge pull request #18700 from nygrenh/better-required-message
Provide a better error message on :required association
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/locale/en.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/locale/en.yml b/activemodel/lib/active_model/locale/en.yml index bf07945fe1..b0b20ee0bf 100644 --- a/activemodel/lib/active_model/locale/en.yml +++ b/activemodel/lib/active_model/locale/en.yml @@ -14,6 +14,7 @@ en: empty: "can't be empty" blank: "can't be blank" present: "must be blank" + required: "must exist" too_long: one: "is too long (maximum is 1 character)" other: "is too long (maximum is %{count} characters)" |