amco / dolly

Not an ORM for CouchDB in rails.
8 stars 3 forks source link

Symbolize keys in update_properties #165

Open ErickFabian opened 3 years ago

ErickFabian commented 3 years ago

Doing

user.update_properties!('first_name' => 'erick')

causes a Dolly::InvalidProperty error, which is confusing i think, so to provide a better developer experience i transform the keys to symbols to comply with using symbols and avoid creating string objets