mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3315cc76e0
Based on the docs which state unique_by option of insert_all can use the index name if desired, one would expect the method to work normally and use the `unique_by` option to determine duplicates. However, there's an issue where the insert_all expects a Set instead of the string representing the index expression it is given. This causes an error. Returning the string expression instead of attempting to format it works perfectly though. |
||
---|---|---|
.. | ||
mysql2_specific_schema.rb | ||
oracle_specific_schema.rb | ||
postgresql_specific_schema.rb | ||
schema.rb | ||
sqlite_specific_schema.rb |