Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with STI tables #48

Open
saratrice opened this issue Jun 12, 2012 · 0 comments
Open

Problem with STI tables #48

saratrice opened this issue Jun 12, 2012 · 0 comments

Comments

@saratrice
Copy link

Running rails 3.1.3. I'm using this branch:
https://github.com/stipple/acts_as_archive
and having a problem with restoring records on STI tables.

I have a User model, and a Student model that inherits from it. When I attempt to archive a user without a type, it archives and restores fine. When I attempt to archive a Student (i.e. User with type = 'Student'), it archives, but will not restore.

I know that someone had the same issue:
#22
but his fix isn't working for me. Anyone got a recommendation?

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

No branches or pull requests

1 participant