docs/REFERENCE.md in lite-validators-1.7.0 vs docs/REFERENCE.md in lite-validators-1.7.1
- old
+ new
@@ -10,16 +10,18 @@
#### Options
Option | Type | Available | Default
--- | --- | --- | ---
association | symbol | object method | attribute without `_id`
+polymorphic | symbol | true, false | false
#### Usage
```ruby
class User < ActiveRecord::Base
validates :input_id, reference: true
+ validates :output_id, reference: { polymorphic: true }
validates :output_id, reference: { association: :input }
end
```