2013-01-08 23:28:47 +01:00

8 lines
179 B
Ruby

# -*- encoding : utf-8 -*-
class Topic < ActiveRecord::Base
belongs_to :admin
attr_accessible :description, :title
validates :title, :presence => true
has_many :notes
end