Forum: Rails France Ferret 0.11.3 Problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ba00a402965da738f601b6367cf3224f?d=identicon&s=25 Bolo Michelin (Guest)
on 2007-03-13 17:26
(Received via mailing list)
Salut

Depuis que j'utilise la dernière vesion de Ferret j'ai ce message
d'erreur

File Not Found Error occured at <except.c>:117 in xpop_context
Error occured in index.c:825 - sis_find_segments_file
  couldn't find segments file

ma classe

require 'ferret'
class Faq < ActiveRecord::Base
   set_table_name "questions"

   validates_presence_of :questionfr, :reponsefr
   belongs_to :faq_category
   has_many   :votes, :dependent => :destroy
   has_many   :comments, :dependent => :destroy

   acts_as_ferret

    #met à jour le score de la faq
    def calculate_score
      self.score = self.votes.sum('score')
    end
end


Merci_______________________________________________
Railsfrance mailing list
Railsfrance@rubyonrails.fr
http://lists.rubyonrails.fr/mailman/listinfo/railsfrance
This topic is locked and can not be replied to.