parent
85a95262fe
commit
9d23e6a8be
@ -1,3 +1,4 @@
|
|||||||
class ContestNotification < ActiveRecord::Base
|
class ContestNotification < ActiveRecord::Base
|
||||||
attr_accessible :content, :title
|
attr_accessible :content, :title
|
||||||
|
validates_length_of :title, maximum: 30
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue