aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/user.rb')
-rw-r--r--activerecord/test/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/models/user.rb b/activerecord/test/models/user.rb
new file mode 100644
index 0000000000..23cd2e0e1c
--- /dev/null
+++ b/activerecord/test/models/user.rb
@@ -0,0 +1,4 @@
+class User < ActiveRecord::Base
+ has_secure_token
+ has_secure_token :auth_token
+end