Skip to content
Permalink
Browse files

Fix the Rails 6 ActionView::Base instantiation deprecations

  • Loading branch information...
gsamokovarov committed Mar 1, 2019
1 parent a3c5dc5 commit d4591ca5396ed15a08818f3da11134852a485b27
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/web_console/template.rb
@@ -18,7 +18,7 @@ def initialize(env, session)

# Render a template (inferred from +template_paths+) as a plain string.
def render(template)
view = View.new(template_paths, instance_values)
view = View.new(template_paths, instance_values, nil)
view.render(template: template, layout: false)
end
end

2 comments on commit d4591ca

@connorshea

This comment has been minimized.

Copy link

replied Mar 1, 2019

FYI, CI is failing because Rails 6 can't be used with Ruby 2.4

@gsamokovarov

This comment has been minimized.

Copy link
Collaborator Author

replied Mar 1, 2019

Thanks for the tip!

Please sign in to comment.
You can’t perform that action at this time.