Return true if attribute is not changed for update_attribute by prathamesh-sonpatki · Pull Request #26595 · rails/rails

Summary If the attribute is not changed, then update_attribute does not run SQL query, this effectively means that no change was made to the attribute. This change was made in 0fcd4cf to avoid a S...