title: Rails after_create callback can't access model's attributes
body: <p>I can't access my model's attributes in the after_create callback... seems like I should be able to right?</p>
  
  <p>controller:</p>
  
  <pre><code>@dog = Dog.new(:color =&gt; 'brown', :gender =&gt; 'male')
  @dog.user_id = current_user.id
  @dog.save
  </code></pre>
  
  <p>model:</p>
  
  <pre><code>class Dog &lt; ActiveRecord::Base
    def after_create
      logger.debug "[DOG CREATED] color:#{color} gender:#{gender} user:#{user_id}"
    end
  end
  </code></pre>
  
  <p>console: (all seems well)</p>
  
  <pre><code>&gt;&gt;Dog.last
  =&gt;#&lt;Dog id: 1, color: "brown", gender: "male", user_id: 1&gt;
  </code></pre>
  
  <p>log: (wtf!?)</p>
  
  <pre><code>...
  [DOG CREATED] color: gender:male user
  ...
  </code></pre>
  
  <p>Some of my attributes show up and others don't! oh no! Anyone know what I'm doing wrong? I've always been able to user after_create in such ways in the past.</p>
  
  <p>Note: The actual variable names and values I used were different, but the methods and code are the same.</p>