diff options
author | Manoj <manoj.mk27@gmail.com> | 2012-01-28 00:18:59 +0530 |
---|---|---|
committer | Manoj <manoj.mk27@gmail.com> | 2012-01-29 15:28:22 +0530 |
commit | 336ff8a97e9391d4111e923a9b841376110d04c9 (patch) | |
tree | 5590b3f9b97cf896f26bb641a474908fd20d873f /activerecord/lib/active_record/locale | |
parent | fd3211ef677efe9531f38db58919a8c90d65892a (diff) | |
download | rails-336ff8a97e9391d4111e923a9b841376110d04c9.tar.gz rails-336ff8a97e9391d4111e923a9b841376110d04c9.tar.bz2 rails-336ff8a97e9391d4111e923a9b841376110d04c9.zip |
has_many/has_one, :dependent => :restrict, deprecation added.
Diffstat (limited to 'activerecord/lib/active_record/locale')
-rw-r--r-- | activerecord/lib/active_record/locale/en.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/locale/en.yml b/activerecord/lib/active_record/locale/en.yml index 44328f63b6..88edabfd41 100644 --- a/activerecord/lib/active_record/locale/en.yml +++ b/activerecord/lib/active_record/locale/en.yml @@ -10,6 +10,7 @@ en: messages: taken: "has already been taken" record_invalid: "Validation failed: %{errors}" + restrict_dependent_destroy: "Cannot delete record because dependent %{model} exist" # Append your own errors here or at the model/attributes scope. # You can define own errors for models or model attributes. |