Class: News::Project

Inherits:
News show all
Includes:
Housekeeping::Projects, Housekeeping::Timestamps, Housekeeping::Users
Defined in:
app/models/news/project.rb

Overview

Project news is related to the content of the current project.

At present any ProjectMember can create Project news. If this gets abused we’ll restrict it to project_administrators.

Direct Known Subclasses

BlogPost, Instruction, Notice

Defined Under Namespace

Classes: BlogPost, Instruction, Notice

Constant Summary

Constants inherited from News

ADMINISTRATION_TYPES, PROJECT_TYPES

Instance Attribute Summary

Attributes included from Housekeeping::Users

#by

Method Summary

Methods included from Housekeeping::Projects

#annotates_community_object?, #is_community?, #set_project_id

Methods included from Housekeeping::Users

#set_created_by_id, #set_updated_by_id

Methods inherited from News

#display_end_after_display_start, #is_current?

Methods included from Shared::Permissions

#is_destroyable?, #is_editable?, #is_in_users_projects?

Methods included from Shared::HasPapertrail

#attribute_updated, #attribute_updater, #detect_version

Methods included from Shared::IsData::Metamorphosize

#metamorphosize

Methods included from Shared::IsData::Navigation

#base_navigation_next, #base_navigation_previous, #next, #next_by_created_at, #next_by_user_created_at, #previous, #previous_by_created_at, #previous_by_user_created_at

Methods inherited from ApplicationRecord

transaction_with_retry