Skip to content

v4.0.0.rc5

Compare
Choose a tag to compare
@joelhawksley joelhawksley released this 22 Jul 19:26
· 48 commits to main since this release
5e06b55
  • Revert change setting #format. In GitHub's codebase, the change led to hard-to-detect failures. For example, components rendered from controllers included layouts when they didn't before. In other cases, the response content_type changed, breaking downstream consumers. For cases where a specific content type is needed, use:

    respond_to do |f|
      f.html_fragment do
        render(MyComponent.new)
      end
    end

    Joel Hawksley