Created
January 6, 2011 07:01
-
-
Save liwh/767626 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
当使用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