activemodel-datastore
activemodel-datastore copied to clipboard
Ruby on Rails with Active Model and Google Cloud Datastore. Extracted from Agrimatics Aero.
# Motivation I want to use bulk insert feature to improve performance. # Resolution implement `ActiveModel::Datastore.save_all(entries)` in case of 500 records insertion, 200x faster than before. # Remark I'm not...
I noticed that the dirty tracking "is to be documented" in the readme. I played around with it and noticed to my surprise that changes are not wiped after a...
We currently support the `parent_key_id` attribute as an integer id. We should add support for also using a parent key string name. Something like id_or_name. Example: def build_model(entity) model_entity =...