diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-08-28 23:18:57 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-08-28 23:18:57 +0000 |
commit | 18a3333a30b406633e2bb6fa5b87ada25ce7571d (patch) | |
tree | 30d5a1a6fb6e2205a395b3154b052716cd25ed88 /activerecord/lib/active_record/associations/association_collection.rb | |
parent | c11ca0e0bfec41215da2c19b2a09435da2e4450e (diff) | |
download | rails-18a3333a30b406633e2bb6fa5b87ada25ce7571d.tar.gz rails-18a3333a30b406633e2bb6fa5b87ada25ce7571d.tar.bz2 rails-18a3333a30b406633e2bb6fa5b87ada25ce7571d.zip |
Formatting, grammar and spelling fixes for the associations documentation. [seanhussey] Closes #8899
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/association_collection.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/association_collection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb index 4da3f15abe..b0be44ff42 100644 --- a/activerecord/lib/active_record/associations/association_collection.rb +++ b/activerecord/lib/active_record/associations/association_collection.rb @@ -65,7 +65,7 @@ module ActiveRecord # Removes all records from this association. Returns +self+ so method calls may be chained. def clear - return self if length.zero? # forces load_target if hasn't happened already + return self if length.zero? # forces load_target if it hasn't happened already if @reflection.options[:dependent] && @reflection.options[:dependent] == :delete_all destroy_all |