1
0
Fork 0
dokkan-data-rails/app/models/link.rb

5 lines
107 B
Ruby
Raw Normal View History

2015-10-01 11:56:40 -04:00
class Link < ActiveRecord::Base
validates :name, presence: true,
uniqueness: true
end