Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #43 from ronen/patch-1

bug fix: was always requiring both mongoid & rails
  • Loading branch information...
commit 569263641002874153e62cfa8f20f159ea2a4f02 2 parents 4e45ce0 + b7b5965
@nofxx authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.