Hi Victor I'm not quite sure what this 'set_trip_day_delta_flag' method is you're referring to. Remind me again: what does your model look like? What is this method supposed to do?
Cheers -- Pat On 22/11/2010, at 8:23 PM, Victor wrote: > Hi Pat, > > On the move to setting up delta index. Have followed steps outlined. > > When I try to save an entry without set_model-name_delta_flag, the > delta column of that database table will be changed from 0 to 1, but > don't get indexed. > > When I try to save an entry with set_model-name_delta_flag (declared > under private), it gave this 500 internal server error: > > NameError (undefined local variable or method `trip_day' for #<Spot: > 0x9e02ab4>): > app/models/spot.rb:104:in `set_trip_day_delta_flag' > > But the entry is saved anyway, but not indexed. Delta column for this > table remains 0. > > What have I done wrong? > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
