From 0bc43374dbfff6541c13f488f0ab72041d5eb849 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Tue, 24 Oct 2023 10:59:43 +0200 Subject: [PATCH] Fix tests under Rails edge Close #924 Ref: - rails/rails@c477d95 - rails/rails#43223 --- test/active_record/models/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/active_record/models/user.rb b/test/active_record/models/user.rb index 05b0c888d..70b7d28ad 100644 --- a/test/active_record/models/user.rb +++ b/test/active_record/models/user.rb @@ -18,6 +18,7 @@ class User2 < User; end end class UserForm + include ActiveModel::Validations include ActiveRecord::Validations attr_accessor :name