Fix the build on 1.8.7 :trollface:

This commit is contained in:
José Valim
2012-05-17 19:28:15 +02:00
parent 37d894f94e
commit 5beecd5947
2 changed files with 5 additions and 3 deletions

View File

@@ -504,9 +504,7 @@ module ActiveModel
hash
end
def read_attribute_for_serialization(name)
send name
end
alias :read_attribute_for_serialization :send
end
end