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

Make ActiveSupport::Inflector default for Zeitwerk #797

Closed

Conversation

jclusso
Copy link
Contributor

@jclusso jclusso commented Aug 22, 2023

This is a 🙋 feature or enhancement.
This is a 🔦 documentation change.

Summary
To make things easier I've made it so Zeitwerk uses ActiveSupport::Inflector out of the box.

Replaces #793

Disable RuboCop Metrics/BlockLength

Add ActiveSupport::Inflector to Zeitwerk

- Configure Zeitwerk's inflector to use ActiveSupport::Inflector
- Add commented out example to config/initializer.rb
- Update existing documentation about ActiveSupport::Inflector to reference initializer configuration
- Add documentation for initializer
@jclusso jclusso changed the title Add configurable inflector with examples for ActiveSupport::Inflector Make ActiveSupport::Inflector default for Zeitwerk Aug 22, 2023
@jaredcwhite jaredcwhite added this to the 1.3.1 milestone Aug 22, 2023
@jaredcwhite jaredcwhite modified the milestones: 1.3.1, 2.0 Aug 29, 2023
@jaredcwhite jaredcwhite removed this from the 2.0 milestone Apr 12, 2024
@jaredcwhite
Copy link
Member

We'll need to look at some other options for 2.0, so I'll go ahead and close this. See: #876. Comments welcome!

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