Rails 4.2 has deprecated `serialized_attributes`

* Use the new `type_for_attribute` method instead
* Green tests on Rails 4.0, 4.1, and 4.2 in my testing
good call, giving it a shot