Fix ThinkingSphinx::Association.casted_options and .polymorphic_classes in Rails 3.1. foreign_type now comes from Reflection#foreign_type not Reflection#options[:foreign_type].
Fix ThinkingSphinx::Association.casted_options and .polymorphic_classes in Rails 3.1. foreign_type now comes from Reflection#foreign_type not Reflection#options[:foreign_type].
agibralter/thinking-sphinx,Napolskih/thinking-sphinx