Sha256: 1a317d614201dbec4ed6c4a77cf70ca0e03a347250477b584fc9aece32bbdc00

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

require 'active_record/pgcrypto/version'
require 'active_record/log_subscriber'
require 'active_record/pgcrypto/symmetric_coder'

module ActiveRecord
  # PostgreSQL PGCrypto support for [ActiveRecord]
  module PGCrypto
    # Enables the log scrubber
    #
    # @return [NilClass]
    def self.enable_log_subscriber!
      ActiveRecord::LogSubscriber.prepend(ActiveRecord::PGCrypto::LogSubscriber)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record-pgcrypto-0.1.1 lib/active_record/pgcrypto.rb