title: Rails - What is the design pattern to subclass a model?
body: <p>I have a model:</p>
  
  <pre><code>class Item &lt; ActiveRecord::Base
  </code></pre>
  
  <p>Item has a property 'store'</p>
  
  <p>Based on the value of store, I'd like the Item object to have different behaviour for specific methods.</p>
  
  <p>Is there a common design pattern for this in Rails? How is this done cleanly without a big if-else statement in the methods?</p>