README.md in metaractor-3.0.0 vs README.md in metaractor-3.0.1
- old
+ new
@@ -232,10 +232,10 @@
You can also use this feature to work with machine readable keys:
```ruby
result = Users::UpdateUser.call
if result.failure? &&
- result.errors[:is_admin] == :true_or_false
+ result.errors[:is_admin].include?(:true_or_false)
# handle this specific case
end
```