I just installed backgroundrb on a fedora box and have been having some
problems.

 

I'm getting the error message:

 

undefined method `values_at' for "10":String

 

It seems to be related to passing any arg to the worker.

 

Controller:

 

    @friendship = MiddleMan.worker(:friendship_worker)

    @friendship.async_get_friends('10', nil)

 

Worker:

 

  def get_friends(user_id = nil, twitter = nil)

    puts user_id

    puts twitter

    return if (user_id == nil) or (twitter == nil)

  end

 

 

If I leave the args blank in the method call, the worker responds properly
with nil for both args.  But as soon as I try to pass any args, it fails.
Any ideas?

 

Thanks,

 

Paul

_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to