README.md in str_enum-0.1.6 vs README.md in str_enum-0.2.0
- old
+ new
@@ -40,10 +40,17 @@
```ruby
User.active
User.archived
```
+And negative scopes
+
+```ruby
+User.not_active
+User.not_archived
+```
+
#### Validations
```ruby
user = User.new(status: "unknown")
user.valid? # false
@@ -54,10 +61,10 @@
```ruby
user.active?
user.archived?
```
-#### Update Methods [master]
+#### Update Methods
```ruby
user.active!
user.archived!
```