Please sign in to comment.
Return nil from read_attribute(:foo) if 'foo' is not present in the @…
…attributes hash, but the _foo method has been defined. This brings the behaviour into line with the 3-0-stable branch and the master branch before 93641ed (there were previously no assertions about this which is why the change slipped through). Note that actually calling the 'foo' method will still raise an error if the attribute is not present.
- Loading branch information...
Showing with 3 additions and 2 deletions.