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

Deprecate LoadError::REGEXPS constant #30052

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

y-yagi
Copy link
Member

@y-yagi y-yagi commented Aug 2, 2017

since 4ad1a52, LoadError::REGEXPS is no longer needed.

@rails-bot
Copy link

r? @schneems

(@rails-bot has picked a reviewer for you, use r? to override)

@matthewd
Copy link
Member

matthewd commented Aug 3, 2017

I think we could safely just remove this without deprecation -- it's pretty clearly not something we intended to make public, and I see no reason people would've been using it.

But if we do want to deprecate, we should use DeprecatedConstantAccessor (and teach it to handle constants that are not being replaced with other constants), not implement it inline.

@sgrif
Copy link
Contributor

sgrif commented Aug 3, 2017

I agree that we should just remove it.

since 4ad1a52, `LoadError::REGEXPS` is no longer needed.
@y-yagi y-yagi force-pushed the deprecate_load_error_regexps branch from a710f3f to 23106de Compare August 3, 2017 22:34
@y-yagi
Copy link
Member Author

y-yagi commented Aug 3, 2017

Thanks for your feedback. OK, I just removed the constant.

@sgrif sgrif merged commit 050bbb1 into rails:master Aug 3, 2017
@y-yagi y-yagi deleted the deprecate_load_error_regexps branch August 3, 2017 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants