huacnlee/redis-search — Issue #6: mysql下无法建立索引的问题
Author: zhaoguobin
Created: 2011-11-04 02:08:01+00:00
State: open

要索引的`Model`中有`title`字段，于是添加索引：
``redis_search_index(:title_field => :title)``
但是`rake redis_search:index --trace`时报错：
``
Now indexing search to Redis...
rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
ruby-1.9.2-p180/gems/redis-search-0.7.0/lib/redis/search/tasks.rb:12:in `block (2 levels) in '
....
``