Hi Jens,
After looking at the development log, I've solved the problem. It turns
out that acts_as_ferret was not indexing 'comments' since another table
I was also trying to index was 'null.' As a result, acts_as_ferret was
terminating prematurely (due to the null error) before it could even
index the 'comment' values. The code I originally posted, therefore,
should work fine for others.
Thanks for your help and all your great work!
Rami
@Lee:
Yes, thanks for the suggestion. I will remove the @ symbol to eliminate
any possible conflicts.
Jens Kraemer wrote:
> Hi Rami,
>
> could you have a look at your development.log and check what values
> actuelly gets indexed for the post_comments field when you save the
> post ?
>
> Jens
>
> On Fri, Jul 21, 2006 at 08:51:48AM +0200, Rami Bitar wrote:
>> ...
>> self.author.name
>> @comments.join(" ")
>> --------
>> http://rubyforge.org/mailman/listinfo/ferret-talk
> --
> webit! Gesellschaft f�r neue Medien mbH www.webit.de
> Dipl.-Wirtschaftsingenieur Jens Kr�mer [EMAIL PROTECTED]
> Schnorrstra�e 76 Tel +49 351 46766 0
> D-01069 Dresden Fax +49 351 46766 66
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk