Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Active Storage configuration for in-memory Dummy App #3970

Conversation

kennyadsl
Copy link
Member

Description

We have now Active Storage installed by default on new apps. This PR configures the CI to reflect the new default (now it needs an ENV variable to disable it, otherwise it assumes it's enabled), and removes an extra call to install Active Storage migrations.

This is not needed, those migrations are already added by default
on any new Rails Application and are not harmful for testing
purposes. We could skip them in the installer with
`--skip-activestorage` and add them only when we are actually using
it but since the long-term goal is to only support Active Storage
we can save some ifs and keep those migrations even if we are not
using the tables generated.
@kennyadsl kennyadsl added the changelog:solidus_core Changes to the solidus_core gem label Mar 2, 2021
@kennyadsl kennyadsl self-assigned this Mar 2, 2021
@kennyadsl kennyadsl added this to the 3.0.0 milestone Mar 2, 2021
@kennyadsl kennyadsl merged commit a7d6755 into solidusio:master Mar 8, 2021
@kennyadsl kennyadsl deleted the kennyadsl/improve-activestorage-config-dummy branch March 8, 2021 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants