@@ -128,6 +164,15 @@ Test it on [avodemo](https://main.avodemo.com/avo/resources/teams?filters[id][gt
- Is null
- Is not null
+```ruby
+{
+ is: "Is",
+ is_not: "Is not",
+ is_null: "Is null",
+ is_not_null: "Is not null",
+}.invert
+```
+
@@ -151,6 +196,21 @@ Test it on [avodemo](https://main.avodemo.com/avo/resources/courses?filters[coun
- Is present
- Is blank
+```ruby
+{
+ contains: "Contains",
+ does_not_contain: "Does not contain",
+ is: "Is",
+ is_not: "Is not",
+ starts_with: "Starts with",
+ ends_with: "Ends with",
+ is_null: "Is null",
+ is_not_null: "Is not null",
+ is_present: "Is present",
+ is_blank: "Is blank",
+}.invert
+```
+
@@ -167,6 +227,15 @@ Test it on [avodemo](https://main.avodemo.com/avo/resources/users?filters[first_
- Overlap
- Contained in ([`active_record_extended`](https://github.com/GeorgeKaraszi/ActiveRecordExtended) gem required)
+ ```ruby
+{
+ array_is: "Are",
+ array_contains: "Contain",
+ array_overlap: "Overlap",
+ array_contained_in: "Contained in" # (active_record_extended gem required)
+}.invert
+```
+
:::warning
Contained in will not work when using the `acts-as-taggable-on` gem.
:::