Skip to content

Fork of composite-primary-keys doesn't work with current ActiveRecord #17

Description

@wrs

I'm trying to get Squash to run on Heroku. I have several fixes going, but here's one that I'm not sure what to do about. I get "production database not configured" trying to start the server. That's because the fork-of-a-fork of composite-primary-keys contains a monkey patch of ActiveRecord::Base.establish_connection that is out of date with current ActiveRecord code. The original drnic repo has working code, but I don't know whether it's safe to change to that.

The simplest solution would be for you to update your fork of CPK. Is that possible?

The code in question is here:
https://github.com/drnic/composite_primary_keys/blob/master/lib/composite_primary_keys/connection_adapters/abstract/connection_specification_changes.rb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions