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

Absoulte Path deprecation warning in Rails 6 #33

Open
LokeshKanumoori opened this issue Nov 16, 2020 · 3 comments · May be fixed by #34
Open

Absoulte Path deprecation warning in Rails 6 #33

LokeshKanumoori opened this issue Nov 16, 2020 · 3 comments · May be fixed by #34

Comments

@LokeshKanumoori
Copy link

I was using 5.x version of rails. recently, updated the rails version 6 now i'm getting below warning.

DEPRECATION WARNING: render file: should be given the absolute path to a file (called from _app_views_layouts_frame_html_haml___3291663533381257803_70120141752300 at

Please can you help me with this issue??

@LokeshKanumoori
Copy link
Author

replace render file: layout with render template: layout to fix this issue in rails 6.x

@rwz
Copy link
Owner

rwz commented Nov 21, 2020

I haven't really touched rails since 4.0 I think so I'm not very equipped to debug the stuff. If you have found the issue, mind sending a pull request?

@jherdman
Copy link

@rwz it may be prudent to edit the README and seek help maintaining this gem, or explicitly mark it as deprecated. Many thanks for the code! (Sadly I cannot help — we're moving away from this gem at this time).

@expeehaa expeehaa linked a pull request May 27, 2021 that will close this issue
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 a pull request may close this issue.

3 participants