Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Refactored code to get it working with latest ActiveRecord #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bratsche
Copy link
Contributor

@bratsche bratsche commented Jan 8, 2013

I used ar-dbcopy once in the past and it worked fine for me, but when I tried using it again recently I was getting a bunch of errors. I'm not sure if something changed in ActiveRecord or what, but the only way I could seem to get it to work was to not use SourceDB and TargetDB derived from ActiveRecord::Base.

The changes I made in this branch allowed me to convert from MySQL to Postgres. Hope this is useful to someone.

@benben
Copy link

benben commented Mar 21, 2013

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants