Class: Noteable::NoteableMeta

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#user_notes_countObject

Returns the value of attribute user_notes_count

Returns:

  • (Object)

    the current value of user_notes_count



8
9
10
# File 'app/models/concerns/noteable.rb', line 8

def user_notes_count
  @user_notes_count
end