Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
musaffa committed Nov 6, 2020
1 parent 596240e commit 902eae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -142,7 +142,7 @@ validates :video, file_content_type: { allow: lambda { |record| record.content_t
can be a String or a Regexp. It also accepts `proc`. See `:allow` options examples.
* `mode`: `:strict` or `:relaxed`. `:strict` mode can detect content type based on the contents
of the files. It also detects media type spoofing (see more in [security](#security)).
`:file` analyzer is used in `:strict` model. `:relaxed` mode uses file name to detect
`:file` analyzer is used in `:strict` mode. `:relaxed` mode uses file name to detect
the content type. `mime_types` analyzer is used in `relaxed` mode. If mode option is not
set then the validator uses form supplied content type.
* `tool`: `:file`, `:fastimage`, `:filemagic`, `:mimemagic`, `:marcel`, `:mime_types`, `:mini_mime`.
Expand Down

0 comments on commit 902eae6

Please sign in to comment.