liveh2o / active_remote

Active Remote provides Active Record-like object-relational mapping over RPC. It's Active Record for your platform.
MIT License
63 stars 23 forks source link

uninitialized constant UnknownAttributeError #6

Closed teubanks closed 11 years ago

teubanks commented 11 years ago

When updating a field that doesn't exist, instead of raising an error indicating the field is unknown, it fails with this error:

NameError: uninitialized constant ActiveRemote::Attributes::UnknownAttributeError from ~/active_remote-1.3.3/lib/active_remote/attributes.rb:11:in `read_attribute'

liveh2o commented 11 years ago

Yep, that's definitely an issue. I overrode ActiveAttr's code, but copied it without paying much attention. I'll get a fix out soon.

liveh2o commented 11 years ago

This is now fixed.