Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Allow overrides to be nil #318

Merged
merged 1 commit into from Apr 2, 2020
Merged

Commits on Apr 2, 2020

  1. Allow overrides to be nil

    This fixes a problem where attribute methods would be treated as missing when their override value was set to `nil`.
    
    Instead of relying on the value of the attribute, this commit changes the behavior to use `fetch` on the attributes hash. Only a truly missing attribute will now trigger the `super` call in `method_missing`.
    benedikt committed Apr 2, 2020
    Copy the full SHA
    ffd0153 View commit details
    Browse the repository at this point in the history