We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4abf7a commit fe8046aCopy full SHA for fe8046a
app/models/service.rb
@@ -87,7 +87,8 @@ class Service < ApplicationRecord
87
virtual_column :power_state, :type => :string
88
virtual_column :power_status, :type => :string
89
90
- validates :name, :presence => true
+ validates :name, :presence => true, :length => {:maximum => 256}
91
+ validates :description, :length => {:maximum => 1024}
92
93
default_value_for :visible, false
94
default_value_for :initiator, 'user'
0 commit comments