Skip to content

Conversation

yuki24
Copy link
Contributor

@yuki24 yuki24 commented Feb 22, 2021

I noticed the travis.yml is a bit out of date and doesn't include the latest versions of Ruby and Rails. I have also fixed the builds for Rails 6.1.

@yuki24 yuki24 force-pushed the update-ci-fix-tests branch from d8a71bf to df7136f Compare February 22, 2021 03:29
def render_without_parsing(source, assigns = {})
view = build_view(fixtures: PARTIALS.merge("source.json.jbuilder" => source), assigns: assigns)
view.render(template: "source.json.jbuilder")
view.render(template: "source")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes the builds for Rails 6.1 and later.

@kaspth kaspth merged commit 770abdb into rails:master Feb 22, 2021
@yuki24 yuki24 deleted the update-ci-fix-tests branch February 22, 2021 12:50
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 this pull request may close these issues.

2 participants