It isn't safe (at least not now) to create threads in Rails, but you
can use something like Background Job ->
http://codeforpeople.com/lib/ruby/bj/bj-1.0.1/README

On Wed, Sep 24, 2008 at 8:15 AM, Jaikishan Jalan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I was wondering if someone can point me how to invoke threads from an action
> in a controller. Basically, in an action, I want to do some tasks
> asynchronously for which user need not wait.
>
> --
> Thanks,
> Jaikishan
>
>
> >
>



-- 
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
João Pessoa, PB, +55 83 8867-7208

--~--~---------~--~----~------------~-------~--~----~
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