Skip to content

Commit

Permalink
Merge pull request #564 from OlegChuev/minor-readme-fixes
Browse files Browse the repository at this point in the history
Minor readme fixes
  • Loading branch information
AaronLasseigne authored Sep 27, 2023
2 parents 1c50ad9 + 143e19f commit 2fed022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ Example.run

- Initial release.

[5.3.0]: https://github.com/AaronLasseigne/active_interaction/compare/v5.2.0...v5.3.0
[5.2.0]: https://github.com/AaronLasseigne/active_interaction/compare/v5.1.1...v5.2.0
[5.1.1]: https://github.com/AaronLasseigne/active_interaction/compare/v5.1.0...v5.1.1
[5.1.0]: https://github.com/AaronLasseigne/active_interaction/compare/v5.0.0...v5.1.0
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ IntegerInteraction.run!(limit1: 71, limit2: 71, limit3: 71)
IntegerInteraction.run!(limit1: "071", limit2: "071", limit3: "0x71")
# => [71, 57, 113]
IntegerInteraction.run!(limit1: "08", limit2: "08", limit3: "08")
ActiveInteraction::InvalidInteractionError: Limit2 is not a valid integer, Limit3 is not a valid integer
# ActiveInteraction::InvalidInteractionError: Limit2 is not a valid integer, Limit3 is not a valid integer
```

### Advanced Filters
Expand Down Expand Up @@ -747,11 +747,11 @@ class RecordInteraction < ActiveInteraction::Base
end
end

> RecordInteraction.run!(encoding: Encoding::US_ASCII)
=> #<Encoding:US-ASCII>
RecordInteraction.run!(encoding: Encoding::US_ASCII)
# => #<Encoding:US-ASCII>

> RecordInteraction.run!(encoding: 'ascii')
=> #<Encoding:US-ASCII>
RecordInteraction.run!(encoding: 'ascii')
# => #<Encoding:US-ASCII>
```

A different method can be specified by providing a symbol to the `finder` option.
Expand Down

0 comments on commit 2fed022

Please sign in to comment.