From 2048556a14c28f9814f9c6ad44a08084afec1afe Mon Sep 17 00:00:00 2001 From: Emilio Tagua Date: Wed, 19 Aug 2009 11:09:12 -0300 Subject: Remove whitespace. --- activerecord/lib/active_record/associations.rb | 1 + activerecord/lib/active_record/associations/belongs_to_association.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index c0741bb572..547df9c684 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -2085,6 +2085,7 @@ module ActiveRecord def association_join connection = reflection.active_record.connection + join = case reflection.macro when :has_and_belongs_to_many ["%s.%s = %s.%s " % [ diff --git a/activerecord/lib/active_record/associations/belongs_to_association.rb b/activerecord/lib/active_record/associations/belongs_to_association.rb index 628033c87a..d2f2267e5c 100644 --- a/activerecord/lib/active_record/associations/belongs_to_association.rb +++ b/activerecord/lib/active_record/associations/belongs_to_association.rb @@ -36,11 +36,11 @@ module ActiveRecord loaded record end - + def updated? @updated end - + private def find_target find_method = if @reflection.options[:primary_key] -- cgit v1.2.3