Welcome to mirror list, hosted at ThFree Co, Russian Federation.

issuable-like-models.md « development « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b48883fe5865e51b22f1fa59cea8bbf754a1abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
stage: Plan
group: Project Management
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
---
# Issuable-like Rails models utilities

GitLab Rails codebase contains several models that hold common functionality and behave similarly to
[Issues](../user/project/issues/index.md). Other examples of "issuables"
are [merge requests](../user/project/merge_requests/index.md) and
[Epics](../user/group/epics/index.md).

This guide accumulates guidelines on working with such Rails models.

## Important text fields

There are maximum length constraints for the most important text fields for issuables:

- `title`: 255 characters
- `title_html`: 800 characters
- `description`: 1 megabyte
- `description_html`: 5 megabytes