removing unseless root method

This commit is contained in:
João Moura 2015-06-14 17:24:48 -03:00
parent 2bf91a0c0e
commit b2f1947d4a
2 changed files with 1 additions and 5 deletions

View File

@ -87,7 +87,7 @@ module ActiveModel
end
def include_meta(json)
json[meta_key] = meta if meta && root
json[meta_key] = meta if meta
json
end
end

View File

@ -6,10 +6,6 @@ module ActiveModel
super
@result
end
def root
false
end
end
end
end