Sha256: 2413f3eb1aab906f0e05e14a6c5d718ed988bbceec0839b81611b23d30367db6
Contents?: true
Size: 574 Bytes
Versions: 9
Compression:
Stored size: 574 Bytes
Contents
if defined?(DataMapper) module AttrEncrypted module Adapters module DataMapper def self.extended(base) # :nodoc: class << base alias_method :included_without_attr_encrypted, :included alias_method :included, :included_with_attr_encrypted end end def included_with_attr_encrypted(base) included_without_attr_encrypted(base) base.attr_encrypted_options[:encode] = true end end end end DataMapper::Resource.extend AttrEncrypted::Adapters::DataMapper end
Version data entries
9 entries across 9 versions & 1 rubygems