1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/neopets_connection.rb

6 lines
130 B
Ruby
Raw Normal View History

class NeopetsConnection < ActiveRecord::Base
belongs_to :user
validates :neopets_username, uniqueness: {scope: :user_id}
end