Skip to content

Conversation

@aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Mar 31, 2020

Updated our monkey-patched construct_relation_for_exists method with change to sanitize forbidden attributes. Original Rails change in rails/rails#35193

This fixes ActiveRecord test FinderTest#test_exists_with_strong_parameters.

Before
https://travis-ci.org/github/rails-sqlserver/activerecord-sqlserver-adapter/jobs/669152512?utm_medium=notification&utm_source=github_status

6728 runs, 18645 assertions, 53 failures, 39 errors, 25 skips

After
https://travis-ci.org/github/rails-sqlserver/activerecord-sqlserver-adapter/jobs/669281834?utm_medium=notification&utm_source=github_status

6728 runs, 18646 assertions, 53 failures, 38 errors, 25 skips

@aidanharan aidanharan marked this pull request as ready for review March 31, 2020 15:04
@aidanharan aidanharan changed the title Sanitize forbidden attributes for exists relation Rails 6: Sanitize forbidden attributes for exists relation Mar 31, 2020
@wpolicarpo wpolicarpo merged commit ef99277 into rails-sqlserver:6-0-dev Mar 31, 2020
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