Skip to content

Read modes #57

Description

@finalburn

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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