And here is what's in my database.yml file: require 'active_record' require 'rubygems' ActiveRecord::Base.establish_connection( :adapter => "oracle_enhanced", :database => "xyz", :username => "user1", :password => "password1", :host => "abc.def.jkl") class Connect < ActiveRecord::Base set_table_name "changelog" end current_db = Connect.find(:first, :order => 'applied_dttm DESC') Everything worked well in Windows, but once I moved it to Linux, things are so messed up. -- Posted via http://www.ruby-forum.com/.