# File lib/thinking_sphinx/search_methods.rb, line 10 def search_context # Comparing to name string to avoid class inheritance complications case self.class.name when 'Class' self else nil end end