title: Access Active Record Object Attributes in Rails Model
body: <p>I have a model with the following associations:</p>
  
  <pre><code>class Car &lt; ActiveRecord::Base
    belongs_to :transportation_vehicle
    belongs_to :owner
    has_many :parts
  
    def scrap(buyer, part)
    ...
    end
  end
  </code></pre>
  
  <p>How would I access owner and parts in the scrap method?  </p>