socialforge/app/models/contest_notification.rb

5 lines
128 B
Ruby

class ContestNotification < ActiveRecord::Base
attr_accessible :content, :title
validates_length_of :title, maximum: 30
end