• S
    Don't assign default attributes until after loading schema · 98faa2a6
    Sean Griffin 提交于
    If the call to `.define_attribute_methods` actually ends up loading the
    schema (*very* hard to do, as it requires the object being created
    without `allocate` having been called, but it can be done by manually
    calling `initialize` from inside `marshal_load` if you're crazy), the
    value of `_default_attributes` will change from that call.
    98faa2a6
core.rb 19.4 KB