Skip to content

Commit

Permalink
Readme. Add "Dirty API" section
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Jul 20, 2019
1 parent 5a61614 commit 9f03f48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ used: `attributes_before_type_cast` and `read_attribute_before_type_cast`.

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

### Dirty API

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.

## Usage

### Object Creation
Expand Down

0 comments on commit 9f03f48

Please sign in to comment.