5 lines
130 B
Ruby
5 lines
130 B
Ruby
class NeopetsConnection < ActiveRecord::Base
|
|
belongs_to :user
|
|
|
|
validates :neopets_username, uniqueness: {scope: :user_id}
|
|
end
|