Sha256: 447c8bffc82db1f20cad856211e5cebc011cba99a50aa02d57a2a8ae5e7101a1

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

require "active_record/connection_adapters/cipherstash_pg_adapter"

module ActiveRecord
  module ConnectionHandling
    # This is the entrypoint that is called when Rails looks for the adapter,
    # when you have this in your database.yml config:
    #
    #   adapter: postgres_cipherstash
    #
    # See: https://github.com/rails/rails/blob/d7d93faacfe0ca3297a47f676772828d7210b9bc/activerecord/lib/active_record/database_configurations/database_config.rb#L16-L18
    alias_method :postgres_cipherstash_connection, :cipherstash_pg_connection
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-cipherstash-pg-adapter-0.2.0 lib/active_record/connection_adapters/postgres_cipherstash_adapter.rb
activerecord-cipherstash-pg-adapter-0.1.0 lib/active_record/connection_adapters/postgres_cipherstash_adapter.rb