<p>When using extracts I make the following change to the rails code, which means that relation won't be guaranteed to be valid. It's great, but for some purposes it'll work:</p>
<pre><code>@@ -137,7 +137,7 @@ def to_xml_node(visible_members = nil, changeset_cache = {}, user_display_name_c
end
else
# otherwise, manually go to the db to check things
- if member.member.visible?
+ if member.member && member.member.visible?
p=1
end
end
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/654#issuecomment-30307996'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOplFRVyIJjib7uaJbz5dqYs_Dlu1wDdDzGrfbKtDNLOtJ.gif' height='1' width='1'></p>