Last indexed date for a model?

Is it possible to retrieve the date of when a particular model was last
indexed?
I would like to display this date in the search results. Thanks.

On Wed, Jun 13, 2007 at 04:53:12PM +0200, jason wrote:

Is it possible to retrieve the date of when a particular model was last
indexed?
I would like to display this date in the search results. Thanks.

Ferret doesn’t store such data unless you tell it to do so by creating a
field holding the indexing date. With aaf you can easily create a method
that returns the current time in a reasonable format and mention it’s
name in the list of fields.

Jens


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs