From 402a89903396ea97a0a1fc0e6c67c5dfb047d05b Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Mon, 11 Mar 2013 16:41:29 -0400 Subject: [PATCH] Minor copy editing --- activerecord/lib/active_record/associations.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 5b6f885122..5613c54f0b 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1114,11 +1114,11 @@ module ClassMethods # similar callbacks may affect the :dependent behavior, and the # :dependent behavior may affect other callbacks. # - # * :destroy causes all the associated objects to also be destroyed - # * :delete_all causes all the associated objects to be deleted directly from the database (so callbacks will not execute) + # * :destroy causes all the associated objects to also be destroyed. + # * :delete_all causes all the associated objects to be deleted directly from the database (so callbacks will not be executed). # * :nullify causes the foreign keys to be set to +NULL+. Callbacks are not executed. - # * :restrict_with_exception causes an exception to be raised if there are any associated records - # * :restrict_with_error causes an error to be added to the owner if there are any associated objects + # * :restrict_with_exception causes an exception to be raised if there are any associated records. + # * :restrict_with_error causes an error to be added to the owner if there are any associated objects. # # If using with the :through option, the association on the join model must be # a +belongs_to+, and the records which get deleted are the join records, rather than -- GitLab