From 0b2e059f0a7bcd27ea96e92ad19a35f36344ed6b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Sep 2007 23:15:54 +0000 Subject: Removed unnecessary or statement (closes #7158) [richcollins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations/association_proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/associations/association_proxy.rb b/activerecord/lib/active_record/associations/association_proxy.rb index d2478fc84e..32810c91e0 100644 --- a/activerecord/lib/active_record/associations/association_proxy.rb +++ b/activerecord/lib/active_record/associations/association_proxy.rb @@ -79,7 +79,7 @@ module ActiveRecord protected def dependent? - @reflection.options[:dependent] || false + @reflection.options[:dependent] end def quoted_record_ids(records) -- cgit v1.2.3