lib/symmetric-encryption.rb in symmetric-encryption-0.1.2 vs lib/symmetric-encryption.rb in symmetric-encryption-0.2.0

- old
+ new

@@ -1,6 +1,9 @@ require 'symmetric/version' require 'symmetric/encryption' if defined?(Rails) require 'symmetric/railtie' - require "symmetric/extensions/active_record/base" +end +if defined?(ActiveRecord::Base) + require 'symmetric/extensions/active_record/base' + require 'symmetric/railties/symmetric_encrypted_validator' end