Skip to content

Instantly share code, notes, and snippets.

@yob
Created May 20, 2009 15:55
Show Gist options
  • Select an option

  • Save yob/114896 to your computer and use it in GitHub Desktop.

Select an option

Save yob/114896 to your computer and use it in GitHub Desktop.
RuntimeError (At least one field is necessary for an index):
/usr/local/lib/ruby1.9/gems/1.9.1/gems/freelancing-god-thinking-sphinx-1.1.14/lib/thinking_sphinx/index/builder.rb:44:in `initialize'
/usr/local/lib/ruby1.9/gems/1.9.1/gems/freelancing-god-thinking-sphinx-1.1.14/lib/thinking_sphinx/index/builder.rb:27:in `new'
/usr/local/lib/ruby1.9/gems/1.9.1/gems/freelancing-god-thinking-sphinx-1.1.14/lib/thinking_sphinx/index/builder.rb:27:in `generate'
/usr/local/lib/ruby1.9/gems/1.9.1/gems/freelancing-god-thinking-sphinx-1.1.14/lib/thinking_sphinx/active_record.rb:69:in `define_index'
app/models/edition.rb:196:in `<class:Edition>'
app/models/edition.rb:72:in `<top (required)>'
app/controllers/editions_controller.rb:498:in `perform_basic_search'
app/controllers/editions_controller.rb:409:in `perform_search'
app/controllers/editions_controller.rb:10:in `index'
<internal:prelude>:8:in `synchronize'
thin (1.2.1) lib/thin/connection.rb:76:in `block in pre_process'
thin (1.2.1) lib/thin/connection.rb:74:in `catch'
thin (1.2.1) lib/thin/connection.rb:74:in `pre_process'
thin (1.2.1) lib/thin/connection.rb:57:in `process'
thin (1.2.1) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
thin (1.2.1) lib/thin/backends/base.rb:57:in `start'
thin (1.2.1) lib/thin/server.rb:150:in `start'
Rendered rescues/_trace (175.0ms)
Rendered rescues/_request_and_response (1.5ms)
Rendering rescues/layout (internal_server_error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment