On Thu, Jan 15, 2009 at 10:44 AM, Zhao Yi
<[email protected]> wrote:
>
>> examples are right there in the docs.  For example to invoke the worker:
>>
>> MiddleMan.worker(:foo_worker,"my_secret_worker_key").async_do_foo()
>
>
> thanks it works. but when I call this method I will get this error. I
> have started backgroundrb server.
>
> can't dump TCPSocket
>
> vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_connection.rb:72:in
> `dump'
> vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_connection.rb:72:in
> `dump_object'
> vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_connection.rb:86:in
> `ask_work'
> vendor/plugins/backgroundrb/lib/backgroundrb/rails_worker_proxy.rb:86:in
> `send'
> vendor/plugins/backgroundrb/lib/backgroundrb/rails_worker_proxy.rb:86:in
> `invoke_on_connection'
> vendor/plugins/backgroundrb/lib/backgroundrb/rails_worker_proxy.rb:72:in
> `run_method'
> vendor/plugins/backgroundrb/lib/backgroundrb/rails_worker_proxy.rb:25:in
> `method_missing'

Please read the API docs carefully, rather than getting spoon fed here
on the list. These things are clearly mentioned on
http://backgroundrb.rubyforge.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to