search for: customerno

Displaying 1 result from an estimated 1 matches for "customerno".

Did you mean: customer_no
2005 Jul 27
1
Problem connection to oracle
...ion( :adapter => "oci", :host => "host", :username => "user", :port => 1888, :password => "passwd", :database => "tmp1" ) class Customer < ActiveRecord::Base set_primary_key "customerno" set_table_name ="TMP.CUSTOMERS" end c = Customer.find(10027566) ============== TMP is the schema name this is the error message: /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:161:in `attach'': ORA-12154: TNS:could not resolve service name (OCIError) from /usr/lo...