• S
    Remove most code related to serialized properties · 90c8be76
    Sean Griffin 提交于
    Nearly completely implemented in terms of custom properties.
    `_before_type_cast` now stores the raw serialized string consistently,
    which removes the need to keep track of "state". The following is now
    consistently true:
    
    - `model.serialized == model.reload.serialized`
    - A model can be dumped and loaded infinitely without changing
    - A model can be saved and reloaded infinitely without changing
    90c8be76
attribute_methods.rb 16.4 KB