title: How to show difference in attribute for two different objects of two different classes in Rails?
body: <p>I have two models, Article and EditedArticle, and both share an attribute called content. The attribute is currently being stored as text in the database.</p>
  
  <p>If I have an instance of each Article and EditedArticle, a1 and ea1, and do the following:</p>
  
  <pre><code>unless a1.content == ea1.content
  </code></pre>
  
  <p>How could I highlight the differences in ea1.content when in the edited_articles#show view?
  My guess is that I would have to do something with .each_line, but I'm not really sure where to go from there.</p>