Sha256: 38092be4b121016b5ae90b721a36dacfd01a2f7f7dc490b335997d081d86ba5b

Contents?: true

Size: 508 Bytes

Versions: 4

Compression:

Stored size: 508 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_record-pgcrypto-0.2.6 lib/active_record/pgcrypto.rb
active_record-pgcrypto-0.2.5 lib/active_record/pgcrypto.rb
active_record-pgcrypto-0.2.4 lib/active_record/pgcrypto.rb
active_record-pgcrypto-0.2.3 lib/active_record/pgcrypto.rb