From 357332a5068d744f17b7c056672177be2d384690 Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 5 May 2013 17:50:32 -0400 Subject: [PATCH] fix xml for #13235 --- app/models/user.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/user.rb b/app/models/user.rb index b258f0f00..bf9d87e89 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -527,6 +527,8 @@ class User < ActiveRecord::Base options ||= {} options[:except] ||= [] options[:except] += hidden_attributes + options[:methods] ||= [] + options[:methods] += [:wiki_page_version_count, :artist_version_count, :pool_version_count, :forum_post_count, :comment_count] super(options, &block) end