remove non-utf8 characters, lower case, remove spaces. Is there a built-in way on rails to make file names friendly and safe before saving a clip?
I took a little breath from this article .
You can try my gem paperclip-strip-strange-characters
Source: https://habr.com/ru/post/897546/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/897541/hibernate-change-instance-of-base-class-to-subclass&usg=ALkJrhgMiqzoUtCCQQAp6PVK_K7NDzentgList List using reflection - jsonWhat are AnyVal.types for? - typesBinding Ninject to InInjectedInto extension method - c #Python multi-line regression using OLS code with specific data? - pythonWindbg - dumping system .Guid - windbgSharePoint SharePoint Client Object Model - Get the name of the current list - javascriptDisassemble default iOS apps with otool - assemblyIs Java inconsistent? - javacross-browser printing team? - javascriptAll Articles