evilmartians / evil-seed

A Gem for creating partial anonymized dumps of your database using your app model relations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Foreign Key attribute on belongs_to

ab320012 opened this issue · comments

My issue is i have a belongs_to relationship with a foreign_key defined but it's looking for the rails foreign key instead of my belongs_to foreign_key attribute i am wondering if this has happened or if the library is still supported

Hey, thanks for reaching out. Can you please provide more details (Rails model, schema.rb, evil-seed output)? I'm not sure that I fully understand the issue.

It would be much appreciated if you provide a self-contained gist like one Rails uses for bug reporting