1
0
Fork 0
dokkan-data-rails/app/models/link.rb
2015-10-06 11:50:31 -04:00

4 lines
107 B
Ruby

class Link < ActiveRecord::Base
validates :name, presence: true,
uniqueness: true
end