Registry / database / activerecord-postgresql-adapter

activerecord-postgresql-adapter

JSON →
library0.0.1rbrubygemsunverified

This gem forwards to ActiveRecord's default PostgreSQL adapter.

gem install activerecord-postgresql-adapter
INSTALL
IMPORT
SIG · ACTIVERECORD-POSTG
A
activerecord-postgresql-adapter
databaserubyv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
require 'active_record/connection_adapters/postgresql_adapter'

Establish a PostgreSQL connection using ActiveRecord

require 'active_record' require 'active_record/connection_adapters/postgresql_adapter' ActiveRecord::Base.establish_connection(adapter: 'postgresql', database: 'my_db')
Debug
Known issues
gotchaThis gem is a compatibility shim; it may not be needed with newer versions of ActiveRecord.
fix
Check if your ActiveRecord version already includes the PostgreSQL adapter natively.
affects: >= 0.0.1
Upgrade
Version history
0.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
36
OpenAI (training)
1
Resources
activerecord-postgresql-adapter — gem install activerecord-postgresql-adapter · libregistry