2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

FEATURE: Create UserProfilerView.

This commit is contained in:
Guo Xiang Tan 2015-09-14 11:41:22 +08:00
parent afdb15f99f
commit d30f454261
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class UserProfileView < ActiveRecord::Base
validates :user_profile_id, presence: true
validates :viewed_at, presence: true
validates :ip_address, presence: true
end