To get the number (octal) file permission use the following: stat -c "%a" your.file
Read More
If after you’ve updated .gitignore to ignore a file and the changes are not being ignored, do the following: git rm /path/to/your/file --cached This will remove the file from the repository, but not from the file system.
Read More
If you’re running into the following error when attempting to use Carrierwave to upload a remote file url: TypeError: no implicit conversion of nil into String Then you’re probably very frustrated at the moment. I dug into the carrierwave gem to figure the issue out exactly, however I realized there was an easier (and much quicker solution). If you want to upload a remote file URL using carrierwave, use the [...]
Read More
Recent Comments