Low commit activity in last 3 years
No release in over a year
Amazon Redshift adapter for ActiveRecord 6.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

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)