serialized_attributes is deprecated in Rails 4.2