freelancing-god/thinking-sphinx — pull request #296 by kenn (2011-10-21 18:07:38+00:00)
Title: Take into account models in subfolders

With this commit c2024b0adf1dacbff293a84d0ee8495e7ddca004 STI subclasses are no longer loaded.

Even when you don't actually define index in STI subclasses, you get a bunch of warning messages for every request in development for every file in subfolders, whenever you use subfolders to organize hundreds of models.

This patch suppresses the undesirable warnings and makes `ThinkingSphinx::Context#load_models` work with STI again.