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

Limit on all models leads to data incompletion #142

Open
Vipulmaan-1mg opened this issue Feb 27, 2019 · 0 comments
Open

Limit on all models leads to data incompletion #142

Vipulmaan-1mg opened this issue Feb 27, 2019 · 0 comments

Comments

@Vipulmaan-1mg
Copy link

Using "rake db:seed:dump LIMIT=10" creates a dump with 10 records for every model.

Suppose there are two models Student and Teacher,
Teacher has_many Students, 1 teacher have 100 students,
so there are 10 Teachers but Students data must be more than 10 to be completely associated.

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