The project is in a healthy, maintained state
Amazon Redshift adapter for ActiveRecord 7.x.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0
 Project Readme

activerecord7-redshift-adapter

Amazon Redshift adapter for ActiveRecord 7 (Rails 7). This is a fork from https://rubygems.org/gems/activerecord7-redshift-adapter hosted on a private Gitlab instance. It's itself forked the project from https://github.com/kwent/activerecord6-redshift-adapter

Thanks to the auhors.

Usage

For Rails 7, write following in Gemfile:

gem 'activerecord7-redshift-adapter-pennylane'

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)