Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check if ActiveRecord::Base exists instead of just ActiveRecord

  • Loading branch information...
commit 29af6f9bec7af07ddb196c1fdfafe7f9cace0167 1 parent 0da8024
@shuber shuber authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/attr_encrypted/adapters/active_record.rb
View
2  lib/attr_encrypted/adapters/active_record.rb
@@ -1,4 +1,4 @@
-if defined?(ActiveRecord)
+if defined?(ActiveRecord::Base)
module AttrEncrypted
module Adapters
module ActiveRecord
Please sign in to comment.
Something went wrong with that request. Please try again.