sunspot/sunspot — pull request #149 by wakemaster39 (2011-12-19 18:08:43+00:00)
Title: STI models include and select option fix

When you search the top of an STI model in rails, the select and include parameters were not being passed down the chain in the data_accessor method. I added a fix to this so that these methods are passed to its descendants. The fix only works when "cache_classes" is set to true in the environment file.