Skip to content

Skip solid_cable gem if skip_action_cable is set#52919

Merged
dhh merged 1 commit intorails:mainfrom
jhawthorn:skip_solid_cable_with_action_cable
Sep 13, 2024
Merged

Skip solid_cable gem if skip_action_cable is set#52919
dhh merged 1 commit intorails:mainfrom
jhawthorn:skip_solid_cable_with_action_cable

Conversation

@jhawthorn
Copy link
Member

@jhawthorn jhawthorn commented Sep 13, 2024

This fixes the failing test on main (probably as of the solid_cable 3.0 release a couple hours ago)

AppGeneratorTest#test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given

If this isn't the right fix please don't hesitate to revert.

cc @dhh @npezza93

This fixes the failing test
AppGeneratorTest#test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given
@rails-bot rails-bot bot added the railties label Sep 13, 2024
@dhh
Copy link
Member

dhh commented Sep 13, 2024

That does look right to me, yes. Solid is a 3-way bundle, but if you skip cable, you should only get 2.

@dhh dhh merged commit 2ddf544 into rails:main Sep 13, 2024
@jhawthorn jhawthorn deleted the skip_solid_cable_with_action_cable branch September 13, 2024 22:09
dhh added a commit that referenced this pull request Sep 13, 2024
* main:
  Skip solid_cable gem if skip_action_cable is set (#52919)
  Call prerecord in test parallelization
  Fix a documentation name mismatch in cookies.rb
dhh added a commit that referenced this pull request Sep 13, 2024
* main:
  Skip solid_cable gem if skip_action_cable is set (#52919)
  Call prerecord in test parallelization
  Fix a documentation name mismatch in cookies.rb
  Revert "Assign id attributes first in Active Record attribute assignment"
  Do not populate CurrentAttributes#attributes when not using defaults
  Suppress a RuboCop offense after running `rails new` with `--devcontainer`
  Fix small typo for Solid Cable changelog [ci skip] (#52911)
  Use less queries when updating nested attributes
  Load routes in LazyRoutesSet#recognize_path
  Slim down the gem section for Solid
  Add Solid Cable (#52889)
  Fix syntax error in user.rb
  Improve Active Record Association Callbacks docs [ci skip]
  Assign id attributes first in Active Record attribute assignment
  Always separate config blocks with a CR
  Fixup tests for #52850
  Replace "healthcheck" with "health check" in documentation. [ci-skip]
dhh added a commit that referenced this pull request Sep 14, 2024
* main:
  No new apps should be started with sprockets (#52887)
  Skip solid_cable gem if skip_action_cable is set (#52919)
  Call prerecord in test parallelization
  Fix a documentation name mismatch in cookies.rb
  Revert "Assign id attributes first in Active Record attribute assignment"
  Do not populate CurrentAttributes#attributes when not using defaults
  Suppress a RuboCop offense after running `rails new` with `--devcontainer`
@jeromedalbert
Copy link
Contributor

jeromedalbert commented Sep 14, 2024

On the subject of Solid and skipping Action Cable, I made a couple follow-up PRs: #52923 and #52925.

DanielaVelasquez pushed a commit to DanielaVelasquez/rails that referenced this pull request Oct 3, 2024
This fixes the failing test
AppGeneratorTest#test_app_update_does_not_generate_action_cable_contents_when_skip_action_cable_is_given
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants