Thanks Dan
That fixed it.
> Date: Sun, 24 Apr 2005 22:32:34 -0700
> From: Dan Peterson <dpiddy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Subject: Re: [Rails] Oracle connection problem: ruby ok, rails not ok.
> To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Message-ID:
<56d3286d0504242232471fe782-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> > I''ve set up a rails application (emp) and edited its
database.yml:
> > development:
> > adapter: oci
> > database: <my db sid here>
> > host: <my db host ip here>
> > username: scott
> > password: tiger
>
> I''ve found the host parameter should be the name of the entry for
the
> database you want in your tnsnames.ora file. The database parameter
> seems to be ignored.
>
> So, try setting host to what you had as <my sid here> in your manual
> OCI8.new call and it should work.
>
> -d.
>
>
> ------------------------------
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm