[openstreetmap-website] Changeset discussion feature (#772)

Tom Hughes notifications at github.com
Tue Jul 29 20:53:30 UTC 2014


> @@ -58,6 +58,7 @@ def node_history
>    def changeset
>      @type = "changeset"
>      @changeset = Changeset.find(params[:id])
> +    @comments = @changeset.comments.unscope(:where => :visible).includes(:author)

It was only ever the diaries and trace lists that we tried to cache, and even that has been stopped now.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/772/files#r15551600
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140729/dd68f409/attachment.html>


More information about the rails-dev mailing list