$:.push 'examples'; require 'helper' class Item < RestModel property :id, type: Integer end class Root < RestModel embeds_many :items end @root = Root.from_source!(items: [{id: 2000}, {id: 2001}]).first @root.update_attributes(items: [{id: 3000}]) inspect_rest_model(@root)