Directories on host machine:
Nginx server in docker container
docker run -d --name nginx \
When uploading svg file with Carrierwave you may get an error:
Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: `identify /tmp/mini_magick20190222-32759-1g7lnmy.svg` failed with error:
Using Audited gem it will only logs changes to the base model and ignore changes to the translation table.
Below is how to add audited to the translation model.
If you have your code defined in classes in lib/ folder you may have problems to load that code in production.
Autoloading is disabled in the production environment by default because of thread safety.
config.autoload_paths << Rails.root.join("lib") config.eager_load_paths << Rails.root.join("lib")