Skip to content

Commit

Permalink
wow, maybe it's time for bed
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmario committed Apr 27, 2011
1 parent 20ead8e commit 3d93d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
module Mysql2
end

if defined?(ActiveRecord::VERSION::STRING) < "3.1"
if defined?(ActiveRecord::VERSION::STRING) && ActiveRecord::VERSION::STRING < "3.1"
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"
puts "WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x"
end

0 comments on commit 3d93d86

Please sign in to comment.