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

Fix failing linter in guides/source #49660

Merged
merged 1 commit into from Oct 16, 2023
Merged

Conversation

seanpdoyle
Copy link
Contributor

@seanpdoyle seanpdoyle commented Oct 16, 2023

Motivation / Background

Fix Failing CI Lint

Adds a missing comma to make an example Ruby block syntactically valid.

@rails-bot rails-bot bot added the docs label Oct 16, 2023
Fix [Failing CI Lint][]

Adds a missing comma to make an example Ruby block syntactically valid.

[Failing CI Lint]: https://github.com/rails/rails/actions/runs/6539678344/job/17758241844?pr=49486#step:4:12
@seanpdoyle seanpdoyle changed the title Fix failing linter in guides/source [ci skip] Fix failing linter in guides/source Oct 16, 2023
seanpdoyle referenced this pull request Oct 16, 2023
We never explained how migrations paths work for shards. This fixes that
and also adds the appropriate class setup. You no longer need to set a
`default` shard as of #48353. In addition, `ApplicationRecord` should be
used for the non-sharded db that also serves as the tenant/shard router.
Then shards should get their own connection class since the schema
differs.
@fatkodima fatkodima merged commit e5c9585 into rails:main Oct 16, 2023
3 checks passed
@seanpdoyle seanpdoyle deleted the fix-guides-ci branch October 16, 2023 22:11
skipkayhil pushed a commit that referenced this pull request Oct 17, 2023
Fix failing linter in `guides/source`
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.

None yet

2 participants