Skip to content
No description, website, or topics provided.
Ruby
Branch: master
Clone or download
#2 Compare This branch is 6 commits ahead of iamdbc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/active_record/connection_adapters
test
.gitignore
Gemfile
LICENSE
README.md
Rakefile
activerecord6-redshift-adapter.gemspec

README.md

activerecord6-redshift-adapter

Amazon Redshift adapter for ActiveRecord 6 (Rails 6). I forked the project from https://github.com/ConsultingMD/activerecord5-redshift-adapter

Thanks for the auhors.

Usage

For Rails 6, write following in Gemfile:

gem 'activerecord6-redshift-adapter'

In database.yml

development:
  adapter: redshift
  host: host
  port: port
  database: db
  username: user
  password: password
  encoding: utf8

OR your can use in URL

class SomeModel < ApplicationRecord
  establish_connection('redshift://username:password@host/database')
end

License

MIT license (same as ActiveRecord)

You can’t perform that action at this time.