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

Make sure models array has unique list of models #162

Closed
wants to merge 2 commits into from

Conversation

elado
Copy link
Contributor

@elado elado commented Oct 31, 2014

Otherwise it piles up duplicates from previous calls and affects performance severely.

Fixes #161.

…tes from previous calls and affects performance severly)
@dblock
Copy link
Member

dblock commented Oct 31, 2014

This is great. Needs a CHANGELOG entry please. I wonder if despite the fact that this is mostly internal there's a possible spec here, too.

@elado
Copy link
Contributor Author

elado commented Oct 31, 2014

Added CHANGELOG. This is indeed internal and I don't think it needs another spec. Previous implementation just piled up many duplicated models on the array, now it's without dups.

@dblock
Copy link
Member

dblock commented Nov 1, 2014

I squashed and merged this via tim-vandecasteele@cdd877b. Thanks.

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

Successfully merging this pull request may close these issues.

Rendering is super slow because of models_with_included_presenters
2 participants