diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2018-02-26 11:16:10 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2018-02-26 11:21:03 -0700 |
commit | 948b931925febac3c965ab13470065ced68f7b53 (patch) | |
tree | c6236159b8a1d1c061acf6541f775400fbc60bef /activesupport/test/multibyte_normalization_conformance_test.rb | |
parent | 8a79d04e4dd7f0fc3c03fca905f86c03bc91ab11 (diff) | |
download | rails-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 'activesupport/test/multibyte_normalization_conformance_test.rb')
0 files changed, 0 insertions, 0 deletions