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

Use built in leaf? method for detecting no children. #6188

Closed
wants to merge 1 commit into from

Conversation

parndt
Copy link
Contributor

@parndt parndt commented Mar 17, 2015

No description provided.

@TeatroIO
Copy link

I've prepared a stage to preview changes. Open stage or view logs.

@gmacdougall
Copy link

👍

This is a slight change in logic, but given my understanding of awesome_nested_set, I believe both to be correct, with this one being significantly more efficient.

Thanks for your work on this.

@parndt
Copy link
Contributor Author

parndt commented Mar 17, 2015

That's right, this is a change in logic but uses nested set logic instead of expensive database queries.

@JDutil
Copy link
Member

JDutil commented Mar 17, 2015

Is this something you wanted back to 2-4-stable as well?

JDutil pushed a commit to JDutil/spree that referenced this pull request Mar 17, 2015
@JDutil JDutil closed this in 2efbd7d Mar 17, 2015
@parndt
Copy link
Contributor Author

parndt commented Mar 17, 2015 via email

JDutil pushed a commit to JDutil/spree that referenced this pull request Mar 17, 2015
Fixes spree#6188

Conflicts:
	frontend/app/helpers/spree/frontend_helper.rb
JDutil pushed a commit to JDutil/spree that referenced this pull request Mar 17, 2015
Fixes spree#6188

Conflicts:
	frontend/app/helpers/spree/frontend_helper.rb
@JDutil
Copy link
Member

JDutil commented Mar 17, 2015

Done

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.

4 participants