socialforge/app/models/contest_notification.rb

5 lines
128 B
Ruby
Raw Normal View History

class ContestNotification < ActiveRecord::Base
attr_accessible :content, :title
2014-08-21 17:09:35 +08:00
validates_length_of :title, maximum: 30
end