Solution for: #81: associated STI subclasses not loading in dev

models not preloaded in dev

1
The problem is that in development, Rails doesn't preload any classes, but the association proxy won't actually look for subclasses of Bean when building it's query unless those subclasses have been loaded, so you don't get any beans. This doesn't happen in prod where all model classes are pre-loaded, but it was source of some confusion for me this morning.

A dumb workaround:

>> Pinto >> mychili.beans = [#<pinto id:="" 1="">]