Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 19627
BY: Rene Perrier (rperrier)
DATE: 2007-03-23 01:16
SUBJECT: warning message in ruby console

 

Hi,

When I launch the console for my Rails application and execute my first database related method, I get the following waring message:
"The DL driver for sqlite3-ruby is deprecated and will be removed in a future release. Please update your installation to use the Native driver."

In addition, if I try to create and save ActiveRecord objects that are invalid (i.e they violate database constraints as well as ActiveRecord validations), it works without throwing any exception or returning error code (i.e. new records are created when they should not)

The system I use has sqlite3 version 3.3.8 installed and I use it with the sqlite3-ruby (1.2.1) gem.

Any idea of how to fix this?

Thanks

Rene


Thread View

Thread Author Date
warning message in ruby consoleRene Perrier2007-03-23 01:16
      RE: warning message in ruby consoleRene Perrier2007-03-23 01:20
      The DL driver for sqlite3-ruby is deprecated Allen Morris2008-06-12 18:12

Post a followup to this message