DEPRECATION WARNING: Arel::Visitors::VISITORS is deprecated and will
be removed. Database adapters should define a visitor_for method which
returns the appropriate visitor for the database. For example,
MysqlAdapter.visitor_for(pool) returns
Arel::Visitors::MySQL.new(pool). (called from mon_synchronize at
/home/user/jruby/lib/ruby/1.9/monitor.rb:201)
I’m also running into this on a brand new Rails 3.1.0 project created
using
the JRuby template on JRuby 1.6.4 (jruby 1.6.4 (ruby-1.8.7-p330)
(2011-08-23 17ea768) (OpenJDK 64-Bit Server VM 1.6.0_22)
[linux-amd64-java]).
In addition to getting this when running the rake:db tasks already
mentioned
I’m getting this warning on the very first request to the web server.
My guess is that there is an API call missing from the sqlite adapter?
Can you guys batch this information together and report it in the
AR-JDBC tracker? We’re probably just doing something the “old way”
when there’s a “new way” we should be using instead.