aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/translation_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-12-03 17:31:25 +0100
committerYves Senn <yves.senn@gmail.com>2014-12-03 17:31:25 +0100
commit6613716ad7d6fe68dc65dff52694e2d5e72ca2fc (patch)
treeb9857fe972278d4babaf0622eedd60a5cdd61e75 /activemodel/test/cases/translation_test.rb
parent497544f0b3eba83c1385579de50a3d521188e448 (diff)
downloadrails-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/translation_test.rb')
0 files changed, 0 insertions, 0 deletions