rroblak/seed_dump

Is there any way to dump the id too?

roadev opened this issue · 2 comments

I need to generate seeds for certain models with the id, but, by default, id is excluded

How could I include it in the dump?

Hi @roadev, you can explicitly specify EXCLUDE to include the id:

rake db:seed:dump EXCLUDE=created_at,updated_at

Thank you! I didn't see it in the docs