While generating a model : script/generate model product
I get the error:
C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active_record/conne
ction_adapters/abstract/connection_specification.rb:194:in
`establish_connection
': development database is not configured
(ActiveRecord::AdapterNotSpecified)
from C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active
_record/connection_adapters/abstract/connection_specification.rb:185:in
`establi
sh_connection'
Has anyone already seen this kind of error...
I have several Oracle Homes on my system, but i've set before the
ORACLE_HOME pointing to the Oracle XE database home.
adapter: oci still works, but it is supposedly deprecated. They want
us to use "adapter: oracle" these days. I doubt that's your problem,
though.
I recommend setting up your connection information in TNSNAMES.ORA,
and then using the SID name you defined there on the 'host' line.
So, if your sid is BLAH_DEV, you would have host: BLAH_DEV
While generating a model : script/generate model product
I get the error:
C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active_record/conne
ction_adapters/abstract/connection_specification.rb:194:in
`establish_connection
': development database is not configured
(ActiveRecord::AdapterNotSpecified)
from C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active
_record/connection_adapters/abstract/connection_specification.rb:185:in
`establi
sh_connection'
Has anyone already seen this kind of error...
I have several Oracle Homes on my system, but i've set before the
ORACLE_HOME pointing to the Oracle XE database home.
While generating a model : script/generate model product
I get the error:
C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active_record/conne
ction_adapters/abstract/connection_specification.rb:194:in
`establish_connection
': development database is not configured
(ActiveRecord::AdapterNotSpecified)
from C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active
_record/connection_adapters/abstract/connection_specification.rb:185:in
`establi
sh_connection'
Has anyone already seen this kind of error...
I have several Oracle Homes on my system, but i've set before the
ORACLE_HOME pointing to the Oracle XE database home.
> While generating a model : script/generate model product
> I get the error:
> C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active_record/conne
> ction_adapters/abstract/connection_specification.rb:194:in
> `establish_connection
> ': development database is not configured
> (ActiveRecord::AdapterNotSpecified)
> from C:\ruby\lib\ruby\gems\1.8/gems/activerecord-1.14.4/lib/active
> _record/connection_adapters/abstract/connection_specification.rb:185:in
> `establi
> sh_connection'
> Has anyone already seen this kind of error...
> I have several Oracle Homes on my system, but i've set before the
> ORACLE_HOME pointing to the Oracle XE database home.