docs/FILE_EXTENSION.md in lite-validators-1.1.0 vs docs/FILE_EXTENSION.md in lite-validators-1.1.1
- old
+ new
@@ -16,10 +16,10 @@
#### Usage
```ruby
class User < ActiveRecord::Base
- validates :input_0, file_extension: { include: 'csv' }
- validates :input_1, file_extension: { exclude: [:png, 'text'] }
+ validates :input0, file_extension: { include: 'csv' }
+ validates :input1, file_extension: { exclude: [:png, 'text'] }
end
```