Just tried that, but still getting the same error.

On Feb 11, 11:45 pm, Pat Allan <[email protected]> wrote:
> Can you grab the latest ts-delayed-delta (1.0.2), see if that helps?
>
> Cheers
>
> --
> Pat
>
> On 12/02/2010, at 3:33 PM, Brian wrote:
>
> > I upgraded as said above and now when my delayed job run it throws an
> > error when I try to access any of the attributes saved with the
> > object. I get this error:
>
> > ImportJob failed with NoMethodError: undefined method `peeps_count'
> > for #<YAML::Object:0x222dd80>. If I switch back to using the old
> > thinking sphinx plugin it works again. Has something changed about the
> > way objects are serialized into the delayed_jobs table?
>
> > Right now my delayed job class starts like this:
>
> > class ImportJob
> >  attr_accessor :current_user
>
> >  def initialize(current_user)
> >    self.current_user = current_user
> >  end
>
> > It's the current_user object that I need to retrieve attributes from
> > during delayed processing, and was able to until now.
>
> > When I look in the db, in the handler column I can see the serialized
> > object, as before, and the attributes in there that I need, but I get
> > that error above.
>
> > --
> > 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 
> > athttp://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.

Reply via email to