technoweenie/serialized_attributes — pull request #12 by jsmilani (2013-01-10 20:32:11+00:00)
Title: fixed Schema read_attribute when using custom data_field

I was trying to use a custom data field (e.g. serialize_attributes :goals, :blob => :raw_goals) when I encountered a bug in the read_attribute method. It was assuming the field name was data and was raising NameError: undefined local variable or method. I fixed it and added a test for it.