Permalink
Browse files

Removing waring from using regexp in condition.

  • Loading branch information...
1 parent f874498 commit b611e0d4f823d47f46cc67a35456692a7d226638 @pk committed May 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/merb/orms/sequel/connection.rb
@@ -16,7 +16,7 @@ def sample_source() File.dirname(__FILE__) / "database.yml.sample" end
# ==== Returns
# Bool:: True if using Sequel >= 2.12.0 or False
def new_sequel?
- !!/^(2.12|3)/ =~ ::Sequel.version
+ !!(/^(2.12|3)/ =~ ::Sequel.version)
end
def copy_sample_config

0 comments on commit b611e0d

Please sign in to comment.