aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/frog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/frog.rb')
-rw-r--r--activerecord/test/models/frog.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/models/frog.rb b/activerecord/test/models/frog.rb
new file mode 100644
index 0000000000..73601aacdd
--- /dev/null
+++ b/activerecord/test/models/frog.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+class Frog < ActiveRecord::Base
+ after_save do
+ with_lock do
+ end
+ end
+end