Feature #29664 » 0001-Fix-RuboCop-offense-Style-CommentAnnotation.patch
| app/models/webhook.rb | ||
|---|---|---|
|
end
|
||
|
belongs_to :user
|
||
|
# ToDo: Confirm if we should keep this as it is or we should move to has_many :through
|
||
|
# TODO: Confirm if we should keep this as it is or we should move to has_many :through
|
||
|
has_and_belongs_to_many :projects # rubocop:disable Rails/HasAndBelongsToMany
|
||
|
validates :url, presence: true, webhook_endpoint: true, length: { maximum: 2000 }
|
||