With this change, if a transaction is opened and closed without any queries being run, the BEGIN and COMMIT statements are omitted to remove the overhead, and make workarounds like save if changed? unnecessary.
Often times forms have more than one submit button enabling different actions, but before this change, Active Storage used the first submit button of the form, rather than the one the user actually clicked.
28 people contributed to Rails this week. If you also want help out, check out the list of open issues! Until next time!
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA