mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:28:59 +08:00
8 lines
172 B
Ruby
8 lines
172 B
Ruby
|
class UserOpenId < ActiveRecord::Base
|
||
|
belongs_to :user
|
||
|
attr_accessible :email, :url, :user_id, :active
|
||
|
|
||
|
validates_presence_of :email
|
||
|
validates_presence_of :url
|
||
|
end
|