From 538b7b97bb64f56a9d8c62f280106f3916080f6d Mon Sep 17 00:00:00 2001 From: Bryan Woods Date: Tue, 15 Jun 2010 12:36:21 -0400 Subject: Active Record Associations - minor change of DeleteRestrictionError doc for clarity --- activerecord/lib/active_record/associations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 680893a048..185e298f5c 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -88,7 +88,7 @@ module ActiveRecord end end - # This error is raised when trying to destroy a parent instance in a N:1, 1:1 associations + # This error is raised when trying to destroy a parent instance in N:1 or 1:1 associations # (has_many, has_one) when there is at least 1 child associated instance. # ex: if @project.tasks.size > 0, DeleteRestrictionError will be raised when trying to destroy @project class DeleteRestrictionError < ActiveRecordError #:nodoc: -- cgit v1.2.3