Class: PostNote
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PostNote
- Includes:
- PostChildWithPriority
- Defined in:
- app/models/post_note.rb
Constant Summary collapse
- TEXT_LIMIT =
1000
Class Method Summary collapse
Class Method Details
.creation_parameters ⇒ Object
13 14 15 |
# File 'app/models/post_note.rb', line 13 def self.creation_parameters entity_parameters + %i(post_id) end |
.entity_parameters ⇒ Object
9 10 11 |
# File 'app/models/post_note.rb', line 9 def self.entity_parameters %i(priority text) end |