aboutsummaryrefslogtreecommitdiffstats
path: root/railties/RDOC_MAIN.rdoc
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2018-02-26 11:16:10 -0700
committerSean Griffin <sean@seantheprogrammer.com>2018-02-26 11:21:03 -0700
commit948b931925febac3c965ab13470065ced68f7b53 (patch)
treec6236159b8a1d1c061acf6541f775400fbc60bef /railties/RDOC_MAIN.rdoc
parent8a79d04e4dd7f0fc3c03fca905f86c03bc91ab11 (diff)
downloadrails-948b931925febac3c965ab13470065ced68f7b53.tar.gz
rails-948b931925febac3c965ab13470065ced68f7b53.tar.bz2
rails-948b931925febac3c965ab13470065ced68f7b53.zip
Never attempt to write virtual attributes to the database
Currently the place where we limit what gets sent to the database is in the implementation for `partial_writes`. We should also be restricting it to column names when partial writes are turned off. Note that we're using `&` instead of just defaulting to `self.class.column_names`, as the instance version of `attribute_names` does not include attributes which are uninitialized (were not included in the select clause)
Diffstat (limited to 'railties/RDOC_MAIN.rdoc')
0 files changed, 0 insertions, 0 deletions