README.md in context_validations-0.1.0 vs README.md in context_validations-0.1.1
- old
+ new
@@ -16,11 +16,11 @@
```ruby
gem 'context_validations'
```
-You can either mixin the moduels on a case-by-case basis or make the
+You can either mixin the modules on a case-by-case basis or make the
changes global:
### Case-by-case ###
```ruby
@@ -136,10 +136,10 @@
`ValidAttribute`.
### MiniTest ###
You are given access to a `#validations_for(:action_name)` method. You should pass the action in your
-controller that is the context of the validations and use the `#valiadtions=` setter on the model.
+controller that is the context of the validations and use the `#validations=` setter on the model.
This is a common example of how to test:
```ruby
require 'test_helper'