aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/account.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/models/account.rb')
-rw-r--r--activemodel/test/models/account.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activemodel/test/models/account.rb b/activemodel/test/models/account.rb
new file mode 100644
index 0000000000..40408e5708
--- /dev/null
+++ b/activemodel/test/models/account.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class Account
+ include ActiveModel::ForbiddenAttributesProtection
+
+ public :sanitize_for_mass_assignment
+end