diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-01-31 05:45:04 -0800 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-01-31 05:45:04 -0800 |
commit | 30a232800382b3194f4cb2e2d2ad37075e2149db (patch) | |
tree | da1608bacfeae736820d045824801005decb46f3 /activerecord/lib/active_record/locale/en.yml | |
parent | 9a1724073aa9bb5c5e6253aa3f010517fb5007f8 (diff) | |
parent | 23074c81a5e0b1e08e2e6555053678e8d656f484 (diff) | |
download | rails-30a232800382b3194f4cb2e2d2ad37075e2149db.tar.gz rails-30a232800382b3194f4cb2e2d2ad37075e2149db.tar.bz2 rails-30a232800382b3194f4cb2e2d2ad37075e2149db.zip |
Merge pull request #4727 from railsaholic/dependent_restrict_should_add_error
has_many/has_one, :dependent => :restrict, deprecation added
Diffstat (limited to 'activerecord/lib/active_record/locale/en.yml')
-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..8892f7ef2f 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} exists" # Append your own errors here or at the model/attributes scope. # You can define own errors for models or model attributes. |