Skip to content

Commit

Permalink
remove code sample that not exist as specifications in update method.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndjndj committed Feb 21, 2024
1 parent 6b96d1d commit 8a81cd2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a81cd2

Please sign in to comment.