I’m developing a new application with rails 3.0.3 and jruby.
Today I’ve found this deprecated message: DEPRECATED: require ‘arjdbc’
instead of ‘jdbc_adapter’.
What does it mean?
I’m using postgres as database.
Somewhere in your application code (possibly in an initializer) you
have code that’s doing “require ‘jdbc_adapter’”. It should be changed
to “require ‘arjdbc’” as of the 1.0 release.
Also note for Rails 3 you no longer need the
config/initializers/jdbc.rb file that got created from the ‘jdbc’
generator.
/Nick
On 21 December 2010 17:28, Nick S. [email protected] wrote:
Somewhere in your application code (possibly in an initializer) you
have code that’s doing “require ‘jdbc_adapter’”. It should be changed
to “require ‘arjdbc’” as of the 1.0 release.Also note for Rails 3 you no longer need the
config/initializers/jdbc.rb file that got created from the ‘jdbc’
generator.
I’ve noticed that the DEPRECATED message raise only if I create a new
application without using -m http://jruby.org/rails3.rb.