Topic: Setting up Ruby with Oracle.
I'm trying to get ruby going with Oracle without much success, i can connect to it with the following rb test file:
connection = OCI8.new('dbname', 'username', 'password')
connection.exec("select * from dual") do |row|
puts 'dummy: ' + row
but when i change the details in the database.yml file and try to generate the scaffold i get:
"DESC operational_risks" failed; does it exist?
Not sure what exactly i'm doing wrong?