Class: Noteable::NoteableMeta
- Inherits:
-
Struct
- Object
- Struct
- Noteable::NoteableMeta
- Defined in:
- app/models/concerns/noteable.rb
Overview
This object is used to gather noteable meta data for list displays avoiding n+1 queries and improving performance.
Instance Attribute Summary collapse
-
#user_notes_count ⇒ Object
Returns the value of attribute user_notes_count.
Instance Attribute Details
#user_notes_count ⇒ Object
Returns the value of attribute user_notes_count
8 9 10 |
# File 'app/models/concerns/noteable.rb', line 8 def user_notes_count @user_notes_count end |