class JamRuby::AffiliateLink < ActiveRecord::Base

  attr_accessible :link, :name, as: :admin

  validates :link, presence: true, length: {maximum: 1000}
  validates :name, presence: true, length: {maximum: 255}
end
