aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/locale
diff options
context:
space:
mode:
authorManoj <manoj.kumar@risingsuntech.net>2012-01-31 13:46:07 +0530
committerManoj <manoj.kumar@risingsuntech.net>2012-01-31 14:11:14 +0530
commit23074c81a5e0b1e08e2e6555053678e8d656f484 (patch)
treef61d967aea60bfeaa04699ce318d967c45d16b36 /activerecord/lib/active_record/locale
parent3053f52671164530b811238f86954cb96f6ebc16 (diff)
downloadrails-23074c81a5e0b1e08e2e6555053678e8d656f484.tar.gz
rails-23074c81a5e0b1e08e2e6555053678e8d656f484.tar.bz2
rails-23074c81a5e0b1e08e2e6555053678e8d656f484.zip
suggested fixes for :dependent => :restrict deprecation.
Diffstat (limited to 'activerecord/lib/active_record/locale')
-rw-r--r--activerecord/lib/active_record/locale/en.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/locale/en.yml b/activerecord/lib/active_record/locale/en.yml
index 88edabfd41..8892f7ef2f 100644
--- a/activerecord/lib/active_record/locale/en.yml
+++ b/activerecord/lib/active_record/locale/en.yml
@@ -10,7 +10,7 @@ en:
messages:
taken: "has already been taken"
record_invalid: "Validation failed: %{errors}"
- restrict_dependent_destroy: "Cannot delete record because dependent %{model} exist"
+ 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.