Open wstaples opened 11 years ago
Here is what my rails db config looks like:
development:
adapter: jdbc
driver: com.ibm.as400.access.AS400JDBCDriver
url: jdbc:as400://192.168.1.45/default_library
username: mydbuser
password: somepassword
Also please note that you will need a copy of jt400.jar to be added to the class path of your project.
Can someone give me an example active record connection?
ActiveRecord::Base.establish_connection( :adapter=> "what goes here??", :host => "AS400_name_or_ip", :database=> "what goes here?", :username => "username", :password => "password" )