title: How to make Rails 3 reload STI classes in development mode?
body: <p>After switching to Rails 3, I noticed that I have to reboot my server to make STI model classes reload with each request. For example, suppose I have this:</p>
  
  <pre><code># app/models/vehicle.rb
  class Vehicle &lt; ActiveRecord::Base
  end
  
  # app/models/car.rb
  class Car &lt; Vehicle
  end
  </code></pre>
  
  <p>If I make a change to <code>Vehicle</code>, the change is loaded on the next request. But if I make a change to <code>Car</code>, I have to reboot my server for it to load.</p>
  
  <p>Any ideas on fixing this?</p>
  
  <p>I'm running WEBrick, but I'm not committed to it.</p>