search for: saratkongara

Displaying 4 results from an estimated 4 matches for "saratkongara".

2008 May 21
2
How to know the environment (development/test/production) inside a worker
Hi Guys,You can start backgroundRb in different environments using -e option. ./script/backgroundrb -e production I like to run a rake task from my worker - something like rake RAILS_ENV=proper_environment thinking_sphinx:start I am not sure how to figure out the environment with which the backgroundRb is started from inside a worker task. Any help is appreciated. Thanks for your time. Regards
2008 May 29
0
How to know the environment (development/test/production) inside a worker - FIXED
...yml :backgroundrb: :ip: 0.0.0.0 :production: :backgroundrb: :port: 11008 # use port 11008 :environment: production That is, have an entry for "environment: production" under :production:, This seems to have fixed the issue. Regards Sarat On 5/29/08, Sarat Kongara <saratkongara at gmail.com> wrote: > > Hi Ryan,For some reason even when the I start backgroundrb like this $ > script/server -e production start > The RAILS_ENV is set to development. Any suggestions on how to fix this > issue. Thanks. > > Regards > Sarat > > > > On 5/22/0...
2008 May 23
0
Backgroundrb-devel Digest, Vol 24, Issue 7
...------ > > Message: 3 > Date: Thu, 22 May 2008 01:05:23 -0400 > From: "Ryan Leavengood" <leavengood at gmail.com> > Subject: Re: [Backgroundrb-devel] How to know the environment > (development/test/production) inside a worker > To: "Sarat Kongara" <saratkongara at gmail.com> > Cc: backgroundrb-devel at rubyforge.org > Message-ID: > <a4855ac50805212205l4c337ffdl19eb0594bcd3c731 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 5/21/08, Sarat Kongara <saratkongara at gmail.com> wrote: >> >&gt...
2009 May 06
3
Using ActiveRecord in FXRuby application
Hello, I am a newbie to FXRuby development. I like the fact that I can write the code in Ruby for cross-platform GUI development. I am developing a desktop application that needs to save some information to a database. I am using ActiveRecord for this purpose. My code works fine when I don''t require fox16 and include Fox. But once I do that I get a bunch of warnings. Here is the sample