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

Łukasz Gurdek notifications at github.com
Tue Jul 29 20:20:23 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)

I thought that caching was still an issue.

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


More information about the rails-dev mailing list