Skip to content

Commit

Permalink
Merge pull request #721 from ndjndj/update-sample-incorrect-in-readme
Browse files Browse the repository at this point in the history
remove code sample that not exist as specifications in update method.
  • Loading branch information
andrykonchin committed Feb 21, 2024
2 parents 6b96d1d + 8a81cd2 commit cfa73ba
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 cfa73ba

Please sign in to comment.