From f8534db6c9f6f9b1b4fd80fc0fc1ad5261b8d707 Mon Sep 17 00:00:00 2001 From: jk Date: Sat, 2 Feb 2008 12:35:00 +0000 Subject: [PATCH] #193 git-svn-id: svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin/acts_as_ferret@304 7326d000-0a0e-0410-9cad-a9b28e7838dc --- lib/class_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class_methods.rb b/lib/class_methods.rb index e092d76..60f2670 100644 --- a/lib/class_methods.rb +++ b/lib/class_methods.rb @@ -31,7 +31,7 @@ module ActsAsFerret def rebuild_index(*models) models << self unless models.include?(self) aaf_index.rebuild_index models.map(&:to_s) - index_dir = find_last_index_version(aaf_configuration[:index_base_dir]) unless aaf_configuration[:remote] + self.index_dir = find_last_index_version(aaf_configuration[:index_base_dir]) unless aaf_configuration[:remote] end # re-index a number records specified by the given ids. Use for large -- 2.11.4.GIT