jesjos / active_record_upsert

Upsert for Rails 5 / Active Record 5
MIT License
207 stars 51 forks source link

Document differences between this gem and ActiveRecord::Persistence#upsert #131

Closed its-fern closed 1 year ago

its-fern commented 1 year ago

Hey @olleolleolle! Wanted to take a stab at https://github.com/jesjos/active_record_upsert/issues/95. I recently went through upgrading a legacy codebase from Rails 5 to Rails 6 and in the process we wanted to see what the differences were between https://github.com/jesjos/active_record_upsert and the Rails native #upsert feature. Figured it would be good information for others to have.

For now I put it on the README, but if there's somewhere else you think we should put it, happy to move it around. Thanks!

olleolleolle commented 1 year ago

"Comparing to native Rails 6 Upsert" perhaps should be "Comparing to native Rails upsert (from Rails 6.0)".