composite-primary-keys / composite_primary_keys

Composite Primary Keys support for Active Record
1.03k stars 350 forks source link

ar_6.1.x: Fix previously_new_record? not being set to true after create #586

Closed knu closed 1 year ago

knu commented 1 year ago

It was introduced in Rails 6.1.0, so composite-primary-keys should support it in the 13.x series. https://api.rubyonrails.org/v6.1.0/classes/ActiveRecord/Persistence.html#method-i-previously_new_record-3F

cfis commented 1 year ago

Thanks!