Skip to content

Instantly share code, notes, and snippets.

@liwh
Created January 6, 2011 07:01
Show Gist options
  • Save liwh/767626 to your computer and use it in GitHub Desktop.
Save liwh/767626 to your computer and use it in GitHub Desktop.
当使用mysql,我们利用actasferret作全文检索的时候,会发现有时候,我们重建索引会失效,查看日志会发现
using mysql specific batched find :all. Turn off with :mysql_fast_batches => false if you encounter problems (i.e. because of non-integer UUIDs in the id column) 的时候,这时候,我们需要将:mysql_fast_batches => false加到模型的acts_as_ferret中去。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment