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