def incomplete_end_operations
      last_entry_per_session = Staging::CommitEntry.group(:session).select('MAX(id) AS id')
      return Staging::CommitEntry.uncontained.end_operations.where.not(:id => last_entry_per_session)
    end
def incomplete_end_operations
      last_entry_per_session = Staging::CommitEntry.group(:session).select('MAX(id) AS id')
      return Staging::CommitEntry.uncontained.end_operations.where.not(:id => last_entry_per_session)
    end
def incomplete_end_operations last_entry_per_session = Staging :: CommitEntry . group ( :session ) . select ( 'MAX(id) AS id' ) return Staging :: CommitEntry . uncontained . end_operations . where . not ( :id => last_entry_per_session ) end
Incomplete End Operation that are not the last entry in their session
Incomplete End Operation that are not the last entry in their session