How to connect to Oracle with datamapper jdbc adapter (in JRuby) and check connection? I can't understand the documentation :D
If you have some example - give me please
require 'data_mapper'
require 'dm-oracle-adapter'
adapter = DataMapper.setup(:default, 'oracle://user:password@host/ORCL')
z = adapter.select('select 1 from dual')