aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorMatthew Robertson <matthewrobertson03@gmail.com>2013-04-21 12:49:50 -0700
committerMatthew Robertson <matthewrobertson03@gmail.com>2013-04-21 18:34:11 -0700
commit1e27f1c5d5d177089fbda03ba31f2f55fa622a39 (patch)
treeb95d040058ff2308eebca0a542bd651cead55fa6 /railties/Rakefile
parentfae07a81badb3067a3ebdd7d81aa22625186329e (diff)
downloadrails-1e27f1c5d5d177089fbda03ba31f2f55fa622a39.tar.gz
rails-1e27f1c5d5d177089fbda03ba31f2f55fa622a39.tar.bz2
rails-1e27f1c5d5d177089fbda03ba31f2f55fa622a39.zip
Update counter cache when pushing into association
This commit fixes a regression bug in which counter_cache columns were not being updated correctly when newly created records were being pushed into an assocation. EG: # this was fine @post.comment.create! # this was fine @comment = Comment.first @post.comments << @comment # this would not update counters @post.comments << Comment.create!
Diffstat (limited to 'railties/Rakefile')
0 files changed, 0 insertions, 0 deletions