rroblak/seed_dump

Dealing with STI db

peco8 opened this issue · 1 comments

peco8 commented

First off, thanks for the nice library.
This library doesn't seem to deal with STI relationship.

Let's say if we have,

  • user
  • author
  • publisher

And this should only create author, and publisher table.
However user table is also generated automatically.

I could delete user table and it's fine. But it could be nice if it can handle it automatically.

Hello @peco8, can you give more code ? At least your AR records and/or schema.rb relevant parts. Thanks !