Class: Gitlab::BackgroundMigration::UserMentions::Models::MergeRequest
Constant Summary
CacheMarkdownField::INVALIDATED_BY
Class Method Summary
collapse
Instance Method Summary
collapse
#attribute_invalidated?, #banzai_render_context, #cached_html_for, #cached_html_up_to_date?, #can_cache_field?, #invalidated_markdown_cache?, #latest_cached_markdown_version, #local_version, #parent_user, #refresh_markdown_cache, #refresh_markdown_cache!, #rendered_field_content, #skip_project_check?, #updated_cached_html_for
#all_references, #array_to_sql, #build_mention_values, #extractors, #skip_project_check?
Class Method Details
.user_mention_model ⇒ Object
Instance Method Details
#user_mention_model ⇒ Object
31
32
33
|
# File 'lib/gitlab/background_migration/user_mentions/models/merge_request.rb', line 31
def user_mention_model
self.class.user_mention_model
end
|
#user_mention_note_id ⇒ Object
39
40
41
|
# File 'lib/gitlab/background_migration/user_mentions/models/merge_request.rb', line 39
def user_mention_note_id
'NULL'
end
|
#user_mention_resource_id ⇒ Object
35
36
37
|
# File 'lib/gitlab/background_migration/user_mentions/models/merge_request.rb', line 35
def user_mention_resource_id
id
end
|