diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-06-11 13:06:58 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-06-11 13:10:14 -0400 |
commit | 4caf1389681a9ab74872b75377ceeb82263fe3b6 (patch) | |
tree | 4eda456cc3c0c12298c98e9149ccfefbd766fe17 /tasks | |
parent | dac0e183025e2f436db9c118abdfb2ee49dada36 (diff) | |
download | rails-4caf1389681a9ab74872b75377ceeb82263fe3b6.tar.gz rails-4caf1389681a9ab74872b75377ceeb82263fe3b6.tar.bz2 rails-4caf1389681a9ab74872b75377ceeb82263fe3b6.zip |
Use `-=` to change the update the collection on the association
This also mark the association as loaded given we changed it in memory
and avoid the next access to the reader to make a query to the databse.
Diffstat (limited to 'tasks')
0 files changed, 0 insertions, 0 deletions