Skip to content

Read modes #57

@boardfish

Description

@boardfish

Currently, if an attribute doesn't exist on an object, NoMethodError comes back. But perhaps we should raise a Remote Record-specific error, say AttributeNotFound, if the attribute doesn't exist on the object.

We could also have a mode where nil is returned for a failed attribute lookup. This could be toggled at the library config level, Remote Record class level, or instance level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions