aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails
diff options
context:
space:
mode:
authorJonathan del Strother <jon.delStrother@audioboo.fm>2015-01-05 19:42:39 +0000
committerJonathan del Strother <jon.delStrother@audioboo.fm>2015-01-05 20:47:41 +0000
commitf634c1fcf4796f633685f6801e260e0e792e547e (patch)
tree67a065419c9db61380dcf87ba782cadd09f5bb78 /activerecord/lib/rails
parentc7a1fa364012c70e76d19b36881c9bde016091b8 (diff)
downloadrails-f634c1fcf4796f633685f6801e260e0e792e547e.tar.gz
rails-f634c1fcf4796f633685f6801e260e0e792e547e.tar.bz2
rails-f634c1fcf4796f633685f6801e260e0e792e547e.zip
Fix rollback of primarykey-less tables
If you have a table without a primary key, and an `after_commit` callback on that table (ie `has_transactional_callbacks?` returns true), then trying to rollback a transaction involving that record would result in “ActiveModel::MissingAttributeError: can't write unknown attribute ``”
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions