Javi Martín
600f5c35e9
Use file_validators instead of Papeclip validations
...
Since we're going to remove Paperclip and Active Storage doesn't provide
any validations, we have to either write our own validation rules or use
a different gem.
We're using the file_validators gem instead of the
`active_storage_validations` gem because the latter doesn't support
proc/lambda objects in size and content type definitions. We need to use
them because in our case these values depend on settings stored in the
database.
2022-02-23 18:21:38 +01:00
..
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-15 11:54:26 +01:00
2021-11-23 13:56:53 +01:00
2019-05-30 20:26:13 +02:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2016-05-31 19:57:29 +02:00
2021-11-23 13:56:53 +01:00
2021-11-25 11:23:08 +01:00
2021-11-23 13:56:53 +01:00
2022-02-23 18:21:38 +01:00
2021-11-23 13:56:53 +01:00
2021-11-15 11:54:26 +01:00
2022-02-23 18:21:38 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-15 11:54:26 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-11-25 11:23:09 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-15 11:54:26 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-11-25 11:14:59 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-15 11:54:26 +01:00
2021-11-25 11:23:12 +01:00
2021-04-27 10:53:47 +02:00
2021-11-15 11:54:26 +01:00
2021-04-27 10:53:47 +02:00
2021-11-25 11:23:13 +01:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00
2021-04-27 10:53:47 +02:00
2021-11-23 13:56:53 +01:00
2021-11-23 13:56:53 +01:00