<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -940,7 +940,7 @@ module ActiveRecord
           )
         end
 
-        add_single_associated_save_callbacks(reflection.name) unless options[:validate] == false
+        add_single_associated_save_callbacks(reflection.name) if options[:validate] == true
 
         configure_dependency_for_belongs_to(reflection)
       end</diff>
      <filename>activerecord/lib/active_record/associations.rb</filename>
    </modified>
    <modified>
      <diff>@@ -56,8 +56,8 @@ class Developer &lt; ActiveRecord::Base
 end
 
 class AuditLog &lt; ActiveRecord::Base
-  belongs_to :developer
-  belongs_to :unvalidated_developer, :class_name =&gt; 'Developer', :validate =&gt; false
+  belongs_to :developer, :validate =&gt; true
+  belongs_to :unvalidated_developer, :class_name =&gt; 'Developer'
 end
 
 DeveloperSalary = Struct.new(:amount)</diff>
      <filename>activerecord/test/models/developer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7f140bbddaf70abc61570f6cfdcbfba5771ffc78</id>
    </parent>
  </parents>
  <author>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/71bf756ea21f338771b53d02951d6654bd295649</url>
  <id>71bf756ea21f338771b53d02951d6654bd295649</id>
  <committed-date>2008-06-11T04:39:56-07:00</committed-date>
  <authored-date>2008-06-11T04:39:56-07:00</authored-date>
  <message>Disable validations for associated belongs_to record by default</message>
  <tree>ffb56f79a6c3230028e2ecc3fcd221f42ca670f0</tree>
  <committer>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </committer>
</commit>
