socialforge/app/models/contest_notification.rb

7 lines
136 B
Ruby

class ContestNotification < ActiveRecord::Base
attr_accessible :content, :title
validates :title, length: {maximum: 30}
end