Class: OpenProjectTrackerData

Inherits:
ApplicationRecord show all
Includes:
Services::DataFields
Defined in:
app/models/project_services/open_project_tracker_data.rb

Constant Summary collapse

DEFAULT_CLOSED_STATUS_ID =

When the Open Project is fresh installed, the default closed status id is “13” based on current version: v8.

"13"

Instance Method Summary collapse

Methods inherited from ApplicationRecord

at_most, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, underscore, without_order

Instance Method Details

#closed_status_idObject


13
14
15
# File 'app/models/project_services/open_project_tracker_data.rb', line 13

def closed_status_id
  super || DEFAULT_CLOSED_STATUS_ID
end