title: Unable to see attriubtes in scaffold with Inheritance Rails 7
body: <p>I created model Car and then I craeted a BMW model with Inheritance in it but can't see the attributes in the view.</p>
  <p>BMW model:</p>
  <pre><code>class BMW&lt; Car
  end
  
  </code></pre>
  <p>Car model:</p>
  <pre><code>class Car&lt; ApplicationRecord
  end
  
  </code></pre>
  <p>I generated the scaffold like this:</p>
  <pre><code>rails generate scaffold BMW --parent=Car
  </code></pre>
  <p>After generating the objects in the console I get in the view:</p>
  <p><a href="https://i.stack.imgur.com/FgKtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FgKtx.png" alt="enter image description here" /></a></p>
  <p>Should edit something in the views? I can`t see the attriubtes in the view</p>