Class: Decision
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decision
- Includes:
- Checkable, HasSimpleImage, HasUuid, Toggleable
- Defined in:
- app/models/decision.rb
Overview
Decision to make
Attributes:
active [boolean]
answers [jsonb]
body [text]
created_at [DateTime]
data [jsonb]
end_date [date]
name [string]
simple_image_id [SimpleImage]
updated_at [DateTime]
uuid [uuid]
visible [boolean]
Constant Summary collapse
- NAME_LIMIT =
250
Class Method Summary collapse
Class Method Details
.entity_parameters ⇒ Object
35 36 37 |
# File 'app/models/decision.rb', line 35 def self.entity_parameters %i[active body end_date name simple_image_id visible] end |