discourse/app/models/user_profile_view.rb

6 lines
171 B
Ruby
Raw Normal View History

2015-09-13 23:41:22 -04:00
class UserProfileView < ActiveRecord::Base
validates :user_profile_id, presence: true
validates :viewed_at, presence: true
validates :ip_address, presence: true
end