Amazon Redshift adapter for ActiveRecord from master. I forked the project from https://github.com/ChmlGr/activerecord6-redshift-adapter
Thanks for the auhors.
Write following in Gemfile:
gem 'activerecord-master-redshift-adapter', git: 'https://github.com/artplan1/activerecord-master-redshift-adapter', branch: 'master'
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
MIT license (same as ActiveRecord)