Last active
June 29, 2018 09:23
-
-
Save RiansyahTohamba/0e8e141ed2ed7f489d60c339375d080f to your computer and use it in GitHub Desktop.
carriewave avoid reupload image because
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/carrierwaveuploader/carrierwave#making-uploads-work-across-form-redisplays | |
tapi jangan buat attr_accesible, karena carrierwave sudah menggenerate name_cache(name bisa avatar,photo dll) nya | |
tambahkan name_cache di strong paramater di controller |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment