Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix casting of invalid time values #1258

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Fix casting of invalid time values #1258

merged 2 commits into from
Nov 8, 2024

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Nov 8, 2024

Fix the following test:

https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/11743718880/job/32717200431?pr=1257

  1) Failure:
AttributeMethodsTest#test_0088_time zone-aware attributes do not recurse infinitely on invalid values [/usr/local/bundle/bundler/gems/rails-c694e575cf0f/activerecord/test/cases/attribute_methods_test.rb:933]:
Expected: []
  Actual: nil

Test introduced by rails/rails#53359

@aidanharan aidanharan marked this pull request as ready for review November 8, 2024 19:07
@aidanharan aidanharan merged commit 27c193c into main Nov 8, 2024
4 checks passed
@aidanharan aidanharan deleted the time-zone-aware-attrib branch November 8, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant