Skip to content

Commit

Permalink
check if ActiveRecord::Base exists instead of just ActiveRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
shuber committed Mar 22, 2011
1 parent 0da8024 commit 29af6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/attr_encrypted/adapters/active_record.rb
@@ -1,4 +1,4 @@
if defined?(ActiveRecord)
if defined?(ActiveRecord::Base)
module AttrEncrypted
module Adapters
module ActiveRecord
Expand Down

0 comments on commit 29af6f9

Please sign in to comment.