David Balmain wrote:
> Hi Stuart,
> 
> Just curious. What do you use those methods for? I didn't bother
> including them because I didn't think anyone would need them. It
> seemed simpler just to have the one method that returned the data as a
> string. I hope I can help.

The #string_value is used in the Rails HowToIntegrateFerretWithRails 
demo application on the Rails Wiki 
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails

It is used in the ./app/views/search/get_results.rhtml template for
example:

<strong><a href="<%= result.field('url').string_value %>">

I don't know Lucene well enough to know wether there's an alternative 
way of doing the the same thing.

I've not come across any usage of the other two methods.

Apologies for the time taken to reply, I've only just spotted your 
reply.

Cheers, Stuart

> 
> Cheers,
> Dave


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to