Skip to content

Instantly share code, notes, and snippets.

@whalec
Created March 30, 2011 10:30
Show Gist options
  • Save whalec/894179 to your computer and use it in GitHub Desktop.
Save whalec/894179 to your computer and use it in GitHub Desktop.
>> Image.facets
NoMethodError: undefined method `title' for "finance":String
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet.rb:107:in `send'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet.rb:107:in `translate'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet.rb:80:in `value'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:125:in `add_from_results'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search.rb:273:in `each_with_match'
from /usr/local/Cellar/gems/1.8/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:400:in `each_with_index'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search.rb:272:in `each'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search.rb:272:in `each_with_index'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search.rb:272:in `each_with_match'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:124:in `add_from_results'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:50:in `populate'
from /usr/local/Cellar/gems/1.8/gems/activesupport-3.0.5/lib/active_support/callbacks.rb:400:in `each_with_index'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:47:in `each'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:47:in `each_with_index'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:47:in `populate'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/facet_search.rb:13:in `initialize'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search_methods.rb:422:in `new'
from /usr/local/Cellar/gems/1.8/gems/thinking-sphinx-2.0.1/lib/thinking_sphinx/search_methods.rb:422:in `facets'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment