6 lines
106 B
Ruby
6 lines
106 B
Ruby
class UserToken < ActiveRecord::Base
|
|
belongs_to :user
|
|
|
|
validates :user, :token, :presence => true
|
|
end
|