Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Destroying object causes NoMethodError
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim  
View profile  
 More options Sep 24, 12:55 am
From: Tim <tpr...@gmail.com>
Date: Wed, 23 Sep 2009 21:55:20 -0700 (PDT)
Local: Thurs, Sep 24 2009 12:55 am
Subject: Destroying object causes NoMethodError
Couldn't find any mention of this, but I'm getting a NoMethodError
(nil object) when calling destroy on a TS enabled object. The last 4
calls on TS are:

active_record.rb:283:in `sphinx_document_id'
active_record.rb:239:in `in_index?'
active_record.rb:243:in `in_core_index?'
active_record.rb:264:in `toggle_deleted

I'm also using the 'set_sphinx_primary_key' feature.

Everything works as expected when the daemon is not running however.

Any ideas?

Cheers.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pat Allan  
View profile  
 More options Sep 24, 6:33 am
From: Pat Allan <p...@freelancing-gods.com>
Date: Thu, 24 Sep 2009 12:33:54 +0200
Local: Thurs, Sep 24 2009 6:33 am
Subject: Re: [ts] Destroying object causes NoMethodError
Hi Tim

What's the full stack trace? Would be useful to see exactly how the  
error is reached, and what it is. Also, which versions of TS and Rails  
are you using?

--
Pat

On 24/09/2009, at 6:55 AM, Tim wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim  
View profile  
 More options Sep 24, 11:20 pm
From: Tim <tpr...@gmail.com>
Date: Thu, 24 Sep 2009 20:20:11 -0700 (PDT)
Local: Thurs, Sep 24 2009 11:20 pm
Subject: Re: Destroying object causes NoMethodError
Ummm I must be going crazy, I can't reproduce it now.

I'm running Rails 2.3.2, Sphinx 0.9.8 and TS 1.2.11

On Sep 24, 8:33 pm, Pat Allan <p...@freelancing-gods.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pat Allan  
View profile  
 More options Sep 25, 3:44 am
From: Pat Allan <p...@freelancing-gods.com>
Date: Fri, 25 Sep 2009 09:44:17 +0200
Local: Fri, Sep 25 2009 3:44 am
Subject: Re: [ts] Re: Destroying object causes NoMethodError
Well, I've created a ticket to add a scenario to the cucumber setup in  
TS to check it anyway:
http://github.com/freelancing-god/thinking-sphinx/issues/#issue/41

If you have it happen again, feel free to add more details there :)

--
Pat

On 25/09/2009, at 5:20 AM, Tim wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google