How to: Rails with JRuby/Actice Record-JDBC and JDBC-ODBC


#1

hi to all,

it is posible to use activerecord-jdbc with the jdbc-odbc bridge?

i have problems to use ajax_scaffold. i get an error message, that the
driver is unable to choose type for date from(list of datatypes)

my database.yml look like

development:
adapter: jdbc
driver: sun.jdbc.odbc.JdbcOdbcDriver
url: jdbc:odbc:ac43demo
username: ac_odbc
password: ac_odbc

i have modified the environment.rb like

require ‘rubygems’
gem ‘ActiveRecord-JDBC’
require ‘jdbc_adapter’

any ideas???

thx

Achim