I\'m pulling some data from an external API and would like to cache the results locally. I have a class SearchTerm, which I would like to be associated with a f
You need to add has_many :searchable_items association to Foo, Bar and SearchTerm models because :through => :searchable_items option refers to that association.