-
Notifications
You must be signed in to change notification settings - Fork 564
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
ActiveRecord::ConnectionAdapters::SQLServerAdapter does not support skipping duplicates #847
Comments
@Quintasan did you find a solution or workaround for this? I'm seeing the same behavior with |
The only workaround I could think of was using |
I got "something" working... for some reason |
Some info I gathered while working on the issue #859.
Since the issue involves just one record, as mentioned, using |
Thanks @mgrunberg . I ended up finding out that |
Issue
bundle exec rails db:seed
throwsActiveRecord::ConnectionAdapters::SQLServerAdapter does not support skipping duplicates
.Expected behavior
A single SQL INSERT should be generated and executed
Actual behavior
When using
#insert_all(Array[Hash])
I'm gettingActiveRecord::ConnectionAdapters::SQLServerAdapter does not support skipping duplicates
How to reproduce
Details
Rails 6.0.3.4
6.0.0
2.1.3
1.1.6-1ubuntu0.1
The text was updated successfully, but these errors were encountered: