jruby/activerecord-jdbc-adapter — Issue #121: Fail with rails 3-0-stable when using sqlite3
Author: arunagw
Created: 2011-10-09 08:06:26+00:00
State: open

Is the latest gem supposed to work with Rails 3.0.X ???

```ruby
Using jdbcsqlite3
ArgumentError: wrong number of arguments (3 for 2)
select at /Users/arunagw/checkouts/rails/bundle/jruby/1.8/gems/activerecord-jdbc-adapter-1.2.0/lib/arjdbc/sqlite3/adapter.rb:199
select_rows at /Users/arunagw/checkouts/rails/bundle/jruby/1.8/gems/activerecord-jdbc-adapter-1.2.0/lib/arjdbc/jdbc/adapter.rb:248
indexes at /Users/arunagw/checkouts/rails/bundle/jruby/1.8/gems/activerecord-jdbc-adapter-1.2.0/lib/arjdbc/sqlite3/adapter.rb:171
index_name_exists? at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:406
add_index at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:343
send at org/jruby/RubyKernel.java:2104
method_missing at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/migration.rb:385
say_with_time at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/migration.rb:361
measure at /Users/arunagw/.rvm/rubies/jruby-1.6.4/lib/ruby/1.8/benchmark.rb:293
say_with_time at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/migration.rb:361
method_missing at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/migration.rb:381
(root) at /Users/arunagw/checkouts/rails/activerecord/test/schema/schema.rb:147
instance_eval at org/jruby/RubyKernel.java:2061
define at /Users/arunagw/checkouts/rails/activerecord/lib/active_record/schema.rb:51
(root) at /Users/arunagw/checkouts/rails/activerecord/test/schema/schema.rb:1
load at org/jruby/RubyKernel.java:1063
load at /Users/arunagw/checkouts/rails/activerecord/test/schema/schema.rb:235
load_dependency at /Users/arunagw/checkouts/rails/activesupport/lib/active_support/dependencies.rb:225
new_constants_in at /Users/arunagw/checkouts/rails/activesupport/lib/active_support/dependencies.rb:593
new_constants_in at /Users/arunagw/checkouts/rails/activesupport/lib/active_support/dependencies.rb:592
load_dependency at /Users/arunagw/checkouts/rails/activesupport/lib/active_support/dependencies.rb:225
load at /Users/arunagw/checkouts/rails/activesupport/lib/active_support/dependencies.rb:235
(root) at /Users/arunagw/checkouts/rails/activerecord/test/cases/helper.rb:104
require at org/jruby/RubyKernel.java:1038
(root) at /Users/arunagw/checkouts/rails/activerecord/test/cases/helper.rb:1
require at org/jruby/RubyKernel.java:1038
__file__ at /Users/arunagw/checkouts/rails/bundle/jruby/1.8/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:11
each at org/jruby/RubyArray.java:1603
(root) at /Users/arunagw/checkouts/rails/bundle/jruby/1.8/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:5

```