Permalink
Browse files

Merge pull request #79 from adamvaughan/fix-mongoid-support

Ignore older versions of mongoid
  • Loading branch information...
2 parents 05bd413 + 580b46d commit c292bb7391d407178f4385bdd8825988459fc776 @flyerhzm committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bullet/dependency.rb
View
@@ -3,7 +3,7 @@ module Dependency
def mongoid?
@mongoid ||= begin
require 'mongoid'
- true
+ mongoid_version.present?
rescue LoadError
false
end

0 comments on commit c292bb7

Please sign in to comment.