diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-06 23:44:00 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-08-06 23:46:31 -0300 |
commit | e6e81f856e969efda49166af82c27594f30ea592 (patch) | |
tree | 9c227904ca43765c03582d4c25e572b3e790ad55 /load_paths.rb | |
parent | ee255794b348e066bdaf60ccb583a1de9c84db6d (diff) | |
download | rails-e6e81f856e969efda49166af82c27594f30ea592.tar.gz rails-e6e81f856e969efda49166af82c27594f30ea592.tar.bz2 rails-e6e81f856e969efda49166af82c27594f30ea592.zip |
Define id_was to get the previous value of the primary key
Currently when we call id_was and we have a custom primary key name
Active Record will return the current value of the primary key. This
make impossible to correctly do an update operation if you change the
id.
Fixes #16413
Diffstat (limited to 'load_paths.rb')
0 files changed, 0 insertions, 0 deletions