diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-27 20:44:08 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-27 20:44:09 -0300 |
commit | 9d1f6edbe0aa6f95f55464136e39fb4e2e4643f2 (patch) | |
tree | 80c97030e7e28a96387eab6659fb84e8dd484f8c /activerecord/test/models/shop.rb | |
parent | 3e8d88f7da5226b6dd4e3aee87a84d99d668a652 (diff) | |
download | rails-9d1f6edbe0aa6f95f55464136e39fb4e2e4643f2.tar.gz rails-9d1f6edbe0aa6f95f55464136e39fb4e2e4643f2.tar.bz2 rails-9d1f6edbe0aa6f95f55464136e39fb4e2e4643f2.zip |
Return earlier if attribute already changed in *_will_change! methods
Avoid obtaining the value and duplicating it when possible.
Diffstat (limited to 'activerecord/test/models/shop.rb')
0 files changed, 0 insertions, 0 deletions