Skip to content
  • George Ma's avatar
    d3bb4326
    Fix regression in ActiveRecord::Result#column_types · d3bb4326
    George Ma authored
    When a column type is nil in the original column_types array, the new implementation
    was returning nil instead of falling back to the default type. This caused
    "undefined method 'deserialize' for nil" errors when accessing model attributes
    through ActiveModel::LazyAttributeSet#fetch_value.
    d3bb4326
    Fix regression in ActiveRecord::Result#column_types
    George Ma authored
    When a column type is nil in the original column_types array, the new implementation
    was returning nil instead of falling back to the default type. This caused
    "undefined method 'deserialize' for nil" errors when accessing model attributes
    through ActiveModel::LazyAttributeSet#fetch_value.
Loading