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: Rendering actions with '.' in the name is deprecated #62

Open
ronzalo opened this issue May 1, 2021 · 1 comment

Comments

@ronzalo
Copy link
Contributor

ronzalo commented May 1, 2021

Hello!

After an update to Spree 4.2 and Rails 6.1, my development log is flooded with warnings like this
DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: spree/shared/trackers/google_analytics/_initializer.js (called from _app_views_spree_layouts_spree_application_html_erb___3719020969285093329_136040 at /home/app/app/views/spree/layouts/spree_application.html.erb:8)

I don't know where is the issue exactly

@damianlegawiec
Copy link
Contributor

Probably connected with Deface overrides - https://github.com/spree-contrib/spree_analytics_trackers/blob/master/app/overrides/add_google_analytics_to_spree_application.rb#L6 .

As a side note, we will be thinking about redesigning the way this gem connects to Spree when we'll move to Hotwire/Turbo/Webpack in Spree 4.3. The plan is to move away from Deface altogether

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

2 participants