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

generator: sync erb template to use Rails 7.0 APIs #359

Merged
merged 2 commits into from May 2, 2024

Conversation

flavorjones
Copy link
Member

This PR is derived from the work @kinsomicrote did in #357.

Updates the erb templates to be in sync with the templates in rails/rails 7.0+ and so correctly supports namespaced models (see related rails/rails#43611).

@flavorjones
Copy link
Member Author

@dhh Are you comfortable with dropping Rails 6.1 feature support in a minor release (likely v2.7.0) if/when this gets merged?

kinsomicrote and others added 2 commits May 1, 2024 10:11
This updates the erb template to be in sync with the template in rails/rails
We will still provide security support for the previous minor release
while Rails 6.1 is supported.
@flavorjones flavorjones force-pushed the update-templates-to-rails-7.0 branch from 70bb6b4 to 3bf5cb9 Compare May 1, 2024 14:16
@flavorjones
Copy link
Member Author

Rafael says he doesn't have concerns: https://discord.com/channels/849034466856665118/974005005768069211/1235247109012197517

But I'll give folks a chance to object before merging.

@flavorjones flavorjones merged commit cc22bca into main May 2, 2024
25 checks passed
@flavorjones flavorjones deleted the update-templates-to-rails-7.0 branch May 2, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants