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 NoMethodError when run js:routes:typescript #327

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ippachi
Copy link
Contributor

@ippachi ippachi commented Dec 16, 2024

js:routes:typescript raise below error.

rake aborted!
NoMethodError: private method `warn' called for class ActiveSupport::Deprecation (NoMethodError)

      ActiveSupport::Deprecation.warn(
                                ^^^^^
/vendor/bundle/ruby/3.3.0/gems/js-routes-2.3.3/lib/tasks/js_routes.rake:11:in `block (3 levels) in <main>'
Tasks: TOP => js:routes:typescript
(See full trace by running task with --trace)

Because ActiveSupport::Deprecation.warn was removed from Rails 7.2.

ActiveSupport::Deprecation.warn was removed from Rails 7.2.
@bogdan bogdan merged commit d45369d into railsware:main Dec 16, 2024
5 checks passed
@ippachi ippachi deleted the fix-warning-message branch December 16, 2024 11:19
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