-
-
Notifications
You must be signed in to change notification settings - Fork 571
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
Erubis deprecated in Rails 5.1 #895
Comments
@renchap Could you try master and check if it's fixed? Thanks! |
Seems to work fine, no more warning ! 👍 |
Installing 5.1.0 beta now and getting this warning. What should I do to get rid of it?
Appreciate your help. |
@ayb 5.0.0.beta.2 gem is out: https://rubygems.org/gems/haml/versions/5.0.0.beta.2 |
Would it be possible to cut a release with this fix? We're hoping to do Rails 5.1 RC1 this week and would be lovely if people using both could avoid this. Thanks! |
I'm sure! @amatsuda does that sound good to you? |
Yes, I guess we need to investigate #908, then soon I'll push 5.0.0 stable :) |
Would love to see this pushed soon, this is holding up my Rails 5.1 testing! |
DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead I have error in Rails 5.1.0 rc1 Is this supposed to be ? Don't know what to do |
Write following code to Gemfile and execute gem 'haml', '5.0.0.beta.2' |
Gemfile error:
|
Oh, that seems another bug. @kul1 Could you paste |
Here the Gemfile And the code for _full.haml
|
Ah, it was open source. That's very helpful :) Maybe we have a bug in compiler for following code: I'll see that later... That might be fixed easily. Just a moment please. |
This issue is reported in #895 (comment). We need extra fixes for cases like `{}[0] = {}`...
Worked now. Thanks |
To Fixed bug reported haml/haml#895 (comment)
…ated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead.エラーを回避 最新のhamlをmasterブランチから取ってきた方がいいみたいなので、Gemfileを修正 参考:haml/haml#895
There was a warning message DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. More info: haml/haml#895
There was a warning message DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. More info: haml/haml#895
grabbing fix from haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation: ``` DEPRECATION WARNING: ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead. (called from <top (required)> at /Users/joerafaniello/Code/manageiq/config/application.rb:31) ``` Rails changed their default templating engine from erubis to erubi and started deprecating it in 5.1: rails/rails#27757 Even though we're only using erubis in WinRM, which is outside of actionview, we're getting the deprecation because: 1) We require hamlit in our Gemfile 2) It requires haml 3) It loads the haml railtie 4) Which loads the erubis template: https://github.com/haml/haml/blob/4.0.7/lib/haml/railtie.rb#L21 5) Which autoloads the deprecated constant: https://github.com/haml/haml/blob/4.0.7/lib/haml/helpers/safe_erubis_template.rb#L3 Haml 5.0.0 fixes this loading of the deprecated constant: haml/haml#895
Fixes deprecation warning: "ActionView::Template::Handlers::Erubis is deprecated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead.". See haml/haml#895.
Template rendering moved to Erubi in Rails master (see rails/rails#27757), this generated a depreciation notice in the HAML gem :
The text was updated successfully, but these errors were encountered: