Skip to content

aws redshift adapter for rails 3 -- ripped from postgresql adapter -- barely tested

License

Notifications You must be signed in to change notification settings

christophermanning/activerecord-redshift-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

activerecord-redshift-adapter
=============================

adapter for aws redshift for rails 3

ripped from rails 3 postgresql -- deleted code until it worked

barely tested (I'm working on a project that needs this -- this works as much as I need to get the project moving)

good luck

example database.yml
====================

common: &common
  adapter: postgresql
  username: postgres
  encoding: SQL_ASCII
  template: template0
  pool: 5
  timeout: 5000

redshiftdb: &redshiftdb
  adapter: redshift
  host: clustername.something.us-east-1.redshift.amazonaws.com
  database: databasename
  port: 5439
  username: username
  password: password

redshift_development:
  <<: *common
  <<: *redshiftdb
  database: databasename

About

aws redshift adapter for rails 3 -- ripped from postgresql adapter -- barely tested

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages