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.
Currently, if an attribute doesn't exist on an object,
NoMethodErrorcomes back. But perhaps we should raise a Remote Record-specific error, sayAttributeNotFound, if the attribute doesn't exist on the object.We could also have a mode where
nilis returned for a failed attribute lookup. This could be toggled at the library config level, Remote Record class level, or instance level.