chris wrote: > Please post database.yml file and any errors in development.log. It > does work fine, postgres is my fav database for AR
production: adapter: postgresql database: myportal username: usr password: pwd host: myhost development: adapter: sqlite3 database: db/development.sqlite timeout: 5000 charset: UTF8 test: adapter: sqlite3 database: db/test.sqlite timeout: 5000 charset: UTF8 oracle: adapter: oracle database: srv/instance username: usr password: pwd encoding: utf8 This is my database.yml. I use sqlite for test and development and postgres in production for my main db. I also need data from some tables located in oracle. Here is how you write model for table in oracle db: class Ora_client < ActiveRecord::Base establish_connection(:oracle) set_table_name "klients_table" end -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

