Update activerecord/lib/active_record/associations/builder/belongs_to.rb

modified the unless statement to be more inline with the way the previous record was checked.