We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ead8e commit 3d93d86Copy full SHA for 3d93d86
lib/mysql2.rb
@@ -15,7 +15,7 @@
15
module Mysql2
16
end
17
18
-if defined?(ActiveRecord::VERSION::STRING) < "3.1"
+if defined?(ActiveRecord::VERSION::STRING) && ActiveRecord::VERSION::STRING < "3.1"
19
puts "WARNING: This version of mysql2 (#{Mysql2::VERSION}) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1"
20
puts "WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x"
21
0 commit comments