class License < Sequel::Model one_to_many :license_comments def getLink() return "/license/#{self.id}" end end