You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, in its current state, query.regions[0].neighborhood returns an empty string. In looking at the query results, I think it's just a matter of changing @neighborhood = @parser.xpath('//neighborhood').text to @neighborhood = @parser.xpath('//name').text in the model region.rb.
IF this seems right, would appreciate this minor edit! Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I needed to be able to call just the name of the neighborhoods returned from a query like:
But, in its current state,
query.regions[0].neighborhood
returns an empty string. In looking at the query results, I think it's just a matter of changing@neighborhood = @parser.xpath('//neighborhood').text
to@neighborhood = @parser.xpath('//name').text
in the model region.rb.IF this seems right, would appreciate this minor edit! Thanks!
The text was updated successfully, but these errors were encountered: