문제

I can't find where to set the maximum upload file size. There's a variable or some initializer I ignored? Could you help me? Nunzio

도움이 되었습니까?

해결책

Rails itself doesn't has a limit or rather a way to set one.

elFinder has a variable called uploadMaxSize. Look up the Connector configuration options of elFinder for further information here.

For PaperClip use the validator called validates_attachment_size. Example Usage can be found here under Validations.

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top