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

DEPRECATION WARNING in Rails 6.0. #13

Open
jillwa opened this issue Jan 12, 2022 · 0 comments
Open

DEPRECATION WARNING in Rails 6.0. #13

jillwa opened this issue Jan 12, 2022 · 0 comments

Comments

@jillwa
Copy link

jillwa commented Jan 12, 2022

I am using wikitext with Rails 6.0.
I got a warning when starting rspec.
Can I upgrade my Rails version to 6.1 or 7.0 without problems?

https://github.com/rails/rails/blob/v6.0.2.1/actionview/lib/action_view/template/handlers.rb#L46-L56

DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
  >> ActionView::Template::Handlers::Wikitext.call(template)
To:
  >> ActionView::Template::Handlers::Wikitext.call(template, source)
 (called from <main> at [PREFIX]/config/environment.rb:5)
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

No branches or pull requests

1 participant