diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-12-03 17:31:25 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-12-03 17:31:25 +0100 |
commit | 6613716ad7d6fe68dc65dff52694e2d5e72ca2fc (patch) | |
tree | b9857fe972278d4babaf0622eedd60a5cdd61e75 /activemodel/test/cases/serialization_test.rb | |
parent | 497544f0b3eba83c1385579de50a3d521188e448 (diff) | |
download | rails-6613716ad7d6fe68dc65dff52694e2d5e72ca2fc.tar.gz rails-6613716ad7d6fe68dc65dff52694e2d5e72ca2fc.tar.bz2 rails-6613716ad7d6fe68dc65dff52694e2d5e72ca2fc.zip |
document that `.delete` does work on `#readonly?` records. Closes #11860
[ci skip]
This is due to the fact that `.delete` is directly translated to SQL.
It tries to follow the same rules as `.delete_all` which is not able
to verify that records are `#readonly?`.
Diffstat (limited to 'activemodel/test/cases/serialization_test.rb')
0 files changed, 0 insertions, 0 deletions