Browse files

Merge pull request #43 from ronen/patch-1

bug fix: was always requiring both mongoid & rails
  • Loading branch information...
2 parents 4e45ce0 + b7b5965 commit 569263641002874153e62cfa8f20f159ea2a4f02 @nofxx committed Feb 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/symbolize.rb
View
4 lib/symbolize.rb
@@ -3,5 +3,5 @@ module Symbolize
autoload :ActiveRecord, 'symbolize/active_record'
end
-require 'symbolize/mongoid' if defined? 'Mongoid'
-require 'symbolize/railtie' if defined? 'Rails'
+require 'symbolize/mongoid' if defined? Mongoid
+require 'symbolize/railtie' if defined? Rails

0 comments on commit 5692636

Please sign in to comment.