aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/attribute_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-04-14 17:51:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-04-14 20:55:46 +0900
commit533dd8a681a3ea7d12acdfc6a2d6a95891282b49 (patch)
treeb22773b8adf3d7b4ebcb93d25c38f38d676193cb /activemodel/test/cases/attribute_test.rb
parent3e66ba91d511158e22f90ff96b594d61f40eda01 (diff)
downloadrails-533dd8a681a3ea7d12acdfc6a2d6a95891282b49.tar.gz
rails-533dd8a681a3ea7d12acdfc6a2d6a95891282b49.tar.bz2
rails-533dd8a681a3ea7d12acdfc6a2d6a95891282b49.zip
Don't expose `add_to_transaction`
`add_to_transaction` was added at da840d1, but it should not be called by except internal, since `remember_transaction_record_state` should be called only once before saving. And also, currently `add_to_transaction` doesn't always add the record to transaction since da8de91, that is the reason hard to use that even in internal. Even if `add_to_transaction` ensure to add the record to transaction, that is an internal concern, people don't need to explicitly call `add_to_transaction`.
Diffstat (limited to 'activemodel/test/cases/attribute_test.rb')
0 files changed, 0 insertions, 0 deletions