README.md in hydra-validations-0.3.1 vs README.md in hydra-validations-0.3.2
- old
+ new
@@ -109,12 +109,12 @@
# ... or using helper method
validates_uniqueness_of :title, solr_name: "title_ssi"
end
```
-### SingleCardinalityValidatory
+### SingleCardinalityValidator
-Validates that the attribute value is a scaler or single-member enumerable.
+Validates that the attribute value is a scalar or single-member enumerable.
```ruby
class Validatable
include ActiveModel::Validations # required if not already included in class
include Hydra::Validations