Re: sorting and pagination

tried the solution that was posted but no luck.
seems to make exactly no difference.

def ferret_date_registered
date_registered.strftime("%Y%m%d")
end

log/development.log#################

Adding field date_registered with value ‘Wed Jul 19 12:07:52 BST 2006’
to index

what am I doing wrong?
regards
Caspar

On 7/20/06, Caspar [email protected] wrote:

what am I doing wrong?
regards
Caspar

Have another look at the solution posted.

You must have forgotten this line;

acts_as_ferret :fields=>
[‘short_description’,…,‘ferret_date_registered’]

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