This commit is contained in:
albert
2013-03-05 19:43:49 -05:00
parent 3621edd357
commit 29e3e7be0e
2 changed files with 3 additions and 15 deletions

View File

@@ -846,7 +846,6 @@ class Post < ActiveRecord::Base
def to_xml(options = {}, &block)
# to_xml ignores the serializable_hash method
options ||= {}
options[:methods] = [:uploader_name, :has_large]
options[:except] ||= []
options[:except] += hidden_attributes
super(options, &block)