Second Pull Request - Project Course (ThreadBoard)

Ah sorry, `Comment::getByThreadId()` is confusing since it is getting a thread but its returning the `Comment` object.
If you need to get the comments from a thread, then change the sql query po in `Comment::getByThreadId()` :bow:
```php

public static function getByThreadId($thread_id)
{
    $db = DB::conn();
    $rows = $db->rows("SELECT * FROM comments WHERE thread_id = ?", array($thread_id));

    $comments = array();
    foreach ($rows as $row) {
        $comments[] = new self($row);
    }
    return $comments;
}
```

Then you can finally do this in the controller po
```php
$thread = Thread::get($thread_id);
$comments = Comment::getByThreadId($thread->id);
```