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

Erubis deprecated in Rails 5.1 #895

Closed
renchap opened this issue Feb 1, 2017 · 16 comments
Closed

Erubis deprecated in Rails 5.1 #895

renchap opened this issue Feb 1, 2017 · 16 comments

Comments

@renchap
Copy link

renchap commented Feb 1, 2017

Template rendering moved to Erubi in Rails master (see rails/rails#27757), this generated a depreciation notice in the HAML gem :

rake webpacker: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 require at /Users/renchap/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb:3)```
@amatsuda
Copy link
Member

amatsuda commented Feb 2, 2017

@renchap Could you try master and check if it's fixed? Thanks!

@renchap
Copy link
Author

renchap commented Feb 2, 2017

Seems to work fine, no more warning ! 👍

@ayb
Copy link

ayb commented Feb 26, 2017

Installing 5.1.0 beta now and getting this warning. What should I do to get rid of it?

  • should I install haml using the master from GitHub, or a fork of master?
  • is there a plan for a new gem release that is more in line with master? Rubygems is showing no gem release since 2014 - https://rubygems.org/gems/haml

Appreciate your help.

@amatsuda
Copy link
Member

@ayb 5.0.0.beta.2 gem is out: https://rubygems.org/gems/haml/versions/5.0.0.beta.2
Please try bundling this gem.

@dhh
Copy link

dhh commented Mar 14, 2017

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!

@HamptonMakes
Copy link
Member

I'm sure! @amatsuda does that sound good to you?

@amatsuda
Copy link
Member

Yes, I guess we need to investigate #908, then soon I'll push 5.0.0 stable :)

@vincentwoo
Copy link

Would love to see this pushed soon, this is holding up my Rails 5.1 testing!

teoljungberg added a commit to houndci/hound that referenced this issue Mar 25, 2017
@kul1
Copy link

kul1 commented Apr 17, 2017

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

@k0kubun
Copy link
Member

k0kubun commented Apr 17, 2017

Write following code to Gemfile and execute bundle update.

gem 'haml', '5.0.0.beta.2'

@kul1
Copy link

kul1 commented Apr 18, 2017

Gemfile
gem 'haml', '5.0.0.beta.2' with or w/o gem 'haml-rails'

error:

SyntaxError - syntax error, unexpected tSTRING_DEND, expecting ')'
attribute_compiler1 = ("page"}.merge(cache); case (_haml_att
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: syntax error, unexpected tSTRING_DEND, expecting '}'
=> _haml_attribute_compiler1 }, nil)).to_s);; when true; _ha
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: syntax error, unexpected ')', expecting keyword_end
ibute_compiler1 }, nil)).to_s);; when true; _hamlout.buffer 
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: syntax error, unexpected keyword_when, expecting ')'
< (" data-role".freeze);; when false, nil; else; _hamlout.bu
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: Can't assign to false
ta-role".freeze);; when false, nil; else; _hamlout.buffer <<
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: Can't assign to nil
le".freeze);; when false, nil; else; _hamlout.buffer << (" d
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: syntax error, unexpected ';', expecting '='
le".freeze);; when false, nil; else; _hamlout.buffer << (" d
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:20: syntax error, unexpected keyword_end, expecting ')'
t.buffer << ("'".freeze);; end; _hamlout.buffer << (">\n<div
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:21: syntax error, unexpected '}', expecting ')'
tribute_compiler2 = ("header"}.merge(backbtn); case (_haml_a
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:27: syntax error, unexpected keyword_ensure, expecting ')'
Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.u
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:27: syntax error, unexpected keyword_end, expecting ')'
ffer.upper if @haml_buffer;end;
                              ^
/Users/kul/mindapp/a241510/app/views/layouts/_full.haml:30: syntax error, unexpected keyword_end, expecting ')'
          end
             ^:
  app/views/layouts/_full.haml:20:in `'
  actionview (5.1.0.rc1) lib/action_view/template.rb:307:in `compile'

@k0kubun
Copy link
Member

k0kubun commented Apr 18, 2017

Oh, that seems another bug.

@kul1 Could you paste /Users/kul/mindapp/a241510/app/views/layouts/_full.haml (with some modification)? Around line 20-30.

@kul1
Copy link

kul1 commented Apr 18, 2017

layouts/_full.haml

Here the Gemfile

And the code for _full.haml

!!! 5
%html
  %head
    %meta(name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1")
    = stylesheet_link_tag "application"
    = javascript_include_tag "application"
    - if GMAP
      = javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false"
  %body
    = render :partial => "mindapp/menu"
    %div{"data-id" => "main", "data-role" => "panel", "data-backbtn"=>"false"}
      - if @cache
        - cache = {}
      - else
        - cache = {"data-cache"=>"never"}
      - if @backbtn
        - backbtn= {"data-backbtn"=>"true"}
      - else
        - backbtn= {"data-backbtn"=>"false"}
      %div{{"data-role" => "page"}.merge(cache) }
        %div{{"data-role" => "header"}.merge(backbtn)}
          %h1= @title || DEFAULT_TITLE
        %div{"data-role" => "content"}
          = yield

      = render :partial => "mindapp/static"

All here in Github

@k0kubun
Copy link
Member

k0kubun commented Apr 18, 2017

Ah, it was open source. That's very helpful :)

Maybe we have a bug in compiler for following code:
https://github.com/kul1/a241510/blob/61ba19a5a4856520a96feebd23d147fa6968e30c/app/views/layouts/_full.haml#L20-L21

I'll see that later... That might be fixed easily. Just a moment please.

k0kubun added a commit that referenced this issue Apr 18, 2017
This issue is reported in
#895 (comment).

We need extra fixes for cases like `{}[0] = {}`...
@k0kubun
Copy link
Member

k0kubun commented Apr 18, 2017

@kul1 Fixed this issue on master, in 5688fcc. Thank you for reporting that.

To use master branch, you may need to write:

gem 'haml', git: 'https://github.com/haml/haml'

@kul1
Copy link

kul1 commented Apr 18, 2017

Worked now. Thanks

kul1 added a commit to kul1/mindapp that referenced this issue Apr 22, 2017
kayawari added a commit to kayawari/snapkin that referenced this issue Oct 26, 2017
…ated and will be removed from Rails 5.2. Switch to ActionView::Template::Handlers::ERB::Erubi instead.エラーを回避

最新のhamlをmasterブランチから取ってきた方がいいみたいなので、Gemfileを修正
参考:haml/haml#895
backpackerhh pushed a commit to backpackerhh/personal-website-rails that referenced this issue Apr 14, 2018
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
backpackerhh pushed a commit to backpackerhh/personal-website-rails that referenced this issue Apr 16, 2018
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
danielhum added a commit to danielhum/haml4r that referenced this issue May 16, 2018
jrafanie added a commit to jrafanie/manageiq that referenced this issue Apr 5, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Apr 9, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Apr 9, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Apr 12, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Apr 29, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 1, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 1, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 10, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 13, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 14, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 20, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue May 21, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 3, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 3, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 4, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 5, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 5, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 5, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 6, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 10, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 11, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 12, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 13, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 14, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 14, 2019
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
jrafanie added a commit to jrafanie/manageiq that referenced this issue Jun 14, 2019
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
juliancheal pushed a commit to juliancheal/manageiq that referenced this issue Jun 20, 2019
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
juliancheal pushed a commit to juliancheal/manageiq that referenced this issue Jun 21, 2019
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
juliancheal pushed a commit to juliancheal/manageiq that referenced this issue Jul 15, 2019
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
jvendetti added a commit to ncbo/bioportal_web_ui that referenced this issue Nov 1, 2019
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.
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

8 participants