forked from OpenNeo/impress
6 lines
130 B
Ruby
6 lines
130 B
Ruby
|
class NeopetsConnection < ActiveRecord::Base
|
||
|
belongs_to :user
|
||
|
|
||
|
validates :neopets_username, uniqueness: {scope: :user_id}
|
||
|
end
|