Class: Relationship

Inherits:
ApplicationRecord show all
Defined in:
app/models/relationship.rb

Constant Summary collapse

MODEL_TO_MODEL_PREDICATES =

i18n-tasks-use t("activerecord.models.relationship")

[
  "adapted_from" # i18n-tasks-use t("activerecord.models.relationships.predicates.adapted_from")
]
FILE_TO_FILE_PREDICATES =
[
  "alternative_format_of", # i18n-tasks-use t("activerecord.models.relationships.predicates.alternative_format_of")
  "supported_version_of" # i18n-tasks-use t("activerecord.models.relationships.predicates.supported_version_of")
]
ALL_PREDICATES =
MODEL_TO_MODEL_PREDICATES + FILE_TO_FILE_PREDICATES

Constants inherited from ApplicationRecord

ApplicationRecord::SAFE_NAME_LENGTH

Method Summary

Methods inherited from ApplicationRecord

find_param