From d153ff870839f354a0f70fb5d0764c6e905c719a Mon Sep 17 00:00:00 2001 From: ndjndj Date: Tue, 20 Feb 2024 17:47:45 +0900 Subject: [PATCH 1/3] remove code sample that not exist as specifications in update method. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 32d954ea..88076690 100644 --- a/README.md +++ b/README.md @@ -934,7 +934,6 @@ validation and callbacks. Address.find(id).update_attributes(city: 'Chicago') Address.find(id).update_attribute(:city, 'Chicago') Address.update(id, city: 'Chicago') -Address.update(id, { city: 'Chicago' }, if: { deliverable: true }) ``` There are also some low level methods `#update`, `.update_fields` and From 3f727f1a3b4f34122b3729c391961280a37a5de6 Mon Sep 17 00:00:00 2001 From: ndjndj Date: Tue, 20 Feb 2024 17:47:45 +0900 Subject: [PATCH 2/3] remove code sample that not exist as specifications in update method. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 64f6b9bc..3a2c6034 100644 --- a/README.md +++ b/README.md @@ -934,7 +934,6 @@ validation and callbacks. Address.find(id).update_attributes(city: 'Chicago') Address.find(id).update_attribute(:city, 'Chicago') Address.update(id, city: 'Chicago') -Address.update(id, { city: 'Chicago' }, if: { deliverable: true }) ``` There are also some low level methods `#update`, `.update_fields` and From 5d9c7dfee7ae80e13d6d31aeebbefd6c95ba19d6 Mon Sep 17 00:00:00 2001 From: ndjndj Date: Tue, 20 Feb 2024 17:47:45 +0900 Subject: [PATCH 3/3] remove code sample that not exist as specifications in update method. remove code sample that not exist as specifications in update method. remove code sample that not exist as specifications in update method. remove code sample that not exist as specifications in update method. remove code sample that not exist as specifications in update method. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 64f6b9bc..3a2c6034 100644 --- a/README.md +++ b/README.md @@ -934,7 +934,6 @@ validation and callbacks. Address.find(id).update_attributes(city: 'Chicago') Address.find(id).update_attribute(:city, 'Chicago') Address.update(id, city: 'Chicago') -Address.update(id, { city: 'Chicago' }, if: { deliverable: true }) ``` There are also some low level methods `#update`, `.update_fields` and