Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

:include => :ways fails #1319

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

:include => :ways fails #1319

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 9.40am, Thursday, 6th November 2008]

	  nodes_in_area = Node.find_by_area(ymin, xmin, ymax, xmax, :conditions => ["current_nodes.visible = ?", true]), :include => :ways)

doesn't work on 0.6.

If you remove :include=>:ways it does work, but is much slower. (Potlatch uses this for whichways.)

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 12.02pm, Sunday, 3rd May 2009]

This seems to work now - in fact the AMF controller is using it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant