title: Include associated model when rendering JSON in Rails
body: <p>Right now I have this line:</p>
  
  <pre><code> render json: @programs, :except =&gt; [:created_at, :updated_at]
  </code></pre>
  
  <p>However, since a Program belongs_to a Company I would like to show the Company name instead of the Company Id.</p>
  
  <p>How can I include the company name when rendering Programs?</p>