Skip to content

Conversation

@thenano
Copy link

@thenano thenano commented Nov 15, 2024

No description provided.

@thenano thenano changed the title loads the rails engine for rails 8 versions. fixes https://github.com/tsechingho/chosen-rails/issues/124 loads the rails engine for rails 8 versions Nov 15, 2024
@thenano
Copy link
Author

thenano commented Nov 15, 2024

fixes #124

@cgunther
Copy link
Contributor

Thanks, I used this to unblock my upgrade to v8.

I wonder if rather than simply appending v8, whether it'd make more sense to tweak the conditional to always require the engine for v4+, otherwise we're going to be in the same position once v9 is released, and so on.

Alternatively, maybe it's time to drop support for below Rails 4, then we can require the engine across the board without a version check, being more future-proof. Rails 3 last saw a release in 2016. Rails themselves are only currently supporting v7.2+, or v7.0+ when it comes to security issues.
https://rubyonrails.org/maintenance

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.

2 participants