debian-mirror-gitlab/doc/development/issuable-like-models.md
2020-04-08 18:37:08 +05:30

611 B

Issuable-like Rails models utilities

GitLab Rails codebase contains several models that hold common functionality and behave similarly to Issues. Other examples of "issuables" are Merge Requests and Epics.

This guide accumulates guidelines on working with such Rails models.

Important text fields

There are max length constraints for the most important text fields for Issuables:

  • title: 255 chars
  • title_html: 800 chars
  • description: 1 megabyte
  • description_html: 5 megabytes