ThinkingSphinx and Nil Results
Monday, November 9th, 2009Have you ever gotten a result like the following when using ThinkingSphinx (by the awesome Pat Allen):
NoMethodError (undefined method `constantize’ for nil:NilClass):
This error occurs when your index isn’t quite up to date and ThinkingSphinx returns results that have since been deleted from your database. To fix the problem add :retry_stale => true to your searches, [...]
Posted in Ruby on Rails | | Comments


