Skip to content

Commit

Permalink
Fix the Rails 6 ActionView::Base instantiation deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
gsamokovarov committed Mar 1, 2019
1 parent a3c5dc5 commit d4591ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web_console/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit d4591ca

@connorshea
Copy link

@connorshea connorshea commented on d4591ca Mar 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@gsamokovarov
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tip!

Please sign in to comment.