Skip to content

Commit a71e929

Browse files
authored
Merge pull request rsim#1667 from yahonda/another_update_attributes
`update_attributes` will be deprecated in Rails 6
2 parents ec558bc + 99b4f42 commit a71e929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,15 +585,15 @@ class ::TestPost < ActiveRecord::Base
585585
TestPost.transaction do
586586
t1.lock!
587587
barrier.wait
588-
t2.update_attributes(title: "one")
588+
t2.update(title: "one")
589589
end
590590
end
591591

592592
begin
593593
TestPost.transaction do
594594
t2.lock!
595595
barrier.wait
596-
t1.update_attributes(title: "two")
596+
t1.update(title: "two")
597597
end
598598
ensure
599599
thread.join

0 commit comments

Comments
 (0)