fixes #769
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user