-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These Rails fixes were driven by extensive testing of the newly released Rails version 7.1, but some may be relevant to older Rails versions as well. *lib/* - When adding new segment attributes, anticipate and ignore numeric parameter keys - For `Transaction#finish`, don't attempt to invoke methods on a non-existent initial segment *test/* - Inline controller method rendering with a proc was a thing in early Rails versions that was no longer supported in Rails 3. We were defining our own `proc_render` controller method to simulate the old style behavior and it finally caused issues for us in Rails 7. Given that we don't even support Rails versions older than 4 now, let's just stop testing the Rails 2 and below proc functionality. - `ActiveJobTest`: a single test needed an additional `expect` - Remove the temporary `before_suite.rb` based hacks for the Rails multiverse suite. - Modify the `ActionController::Live` RUM test to set a `last-modified` header on the streaming response. This prevents Rack v3 from attempting to call `to_ary` on the streaming response object returned. In the future we could author a better streaming test that properly chunks data and possibly even uses a layout. But for now, this header fix gives us Rack 3 compatibility with the old test. resolves #2254
- Loading branch information
Showing
6 changed files
with
8 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters