Skip to content

Conversation

@aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Apr 29, 2021

Coerced and re-implemented the ActiveRecord::RelationTest#test_marshal_load_legacy_relation test as the original Rails test was not reading the dump file in binary mode and so wasn't passing on Windows environments.

The coerce can be removed on Rails 7+ as the test was removed in rails/rails@0e35e67#diff-744b39fde5c3433ab31f1fe1721fde897ebde5c0abb5a09e6752a1479ac42668

@aidanharan aidanharan marked this pull request as ready for review April 29, 2021 10:38
@aidanharan aidanharan marked this pull request as draft April 29, 2021 10:38
@aidanharan aidanharan force-pushed the load-legacy-file-windows-binary branch from b62e896 to 3d89b16 Compare April 29, 2021 10:39
@aidanharan aidanharan marked this pull request as ready for review April 29, 2021 12:24
@wpolicarpo wpolicarpo merged commit 778dc42 into rails-sqlserver:main Apr 29, 2021
lavika pushed a commit to lavika/activerecord-sqlserver-adapter that referenced this pull request Sep 26, 2023
… being binary read (rails-sqlserver#922)

Co-authored-by: Aidan Haran <aharan@fusioneer.com>
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