This week in Rails covers several notable changes: new explicit `query:` and `body:` kwargs for integration test helpers resolve ambiguity with GET+JSON requests in API-only apps; two new predicate methods `request.safe_method?` and `request.unsafe_method?` are added to ActionDispatch::Request per RFC 9110; Action Cable's origin check is updated to respect `X-Forwarded-Host` for correct behavior behind reverse proxies; and a rewrite of the Layouts and Rendering guide is open for community review.
Sort: