Skip to content

Commit 9f03f48

Browse files
committed
Readme. Add "Dirty API" section
1 parent 5a61614 commit 9f03f48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,10 @@ used: `attributes_before_type_cast` and `read_attribute_before_type_cast`.
475475

476476
There is `<name>_before_type_cast` method for every field in a model as well.
477477

478+
### Dirty API
479+
480+
Dynamoid supports Dirty API which equvalents to [Rails 5.2 `ActiveModel::Dirty`](https://api.rubyonrails.org/v5.2/classes/ActiveModel/Dirty.html). There is only one limitation - change in place of field is't detected automatically.
481+
478482
## Usage
479483

480484
### Object Creation

0 commit comments

Comments
 (0)