You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rails new myapp --skip-active-storage -d postgresql
ls
Expected behavior
There should be no storage folder.
Actual behavior
There is a storage folder.
System configuration
Rails version: 7.1.3.2
Ruby version: 3.3.1
Comments
I may be wrong but it seems like the storage folder is only needed for sqlite or Active Storage. Based on some of the Rails code here and here, it seems that when using a different database and the --skip-active-storage option, this folder isn't really useful. So maybe it should not be created by rails new.
Steps to reproduce
Expected behavior
There should be no storage folder.
Actual behavior
There is a storage folder.
System configuration
Rails version: 7.1.3.2
Ruby version: 3.3.1
Comments
I may be wrong but it seems like the storage folder is only needed for sqlite or Active Storage. Based on some of the Rails code here and here, it seems that when using a different database and the
--skip-active-storage
option, this folder isn't really useful. So maybe it should not be created byrails new
.Related: #51836
Potential fix: #51837
The text was updated successfully, but these errors were encountered: