# List all uploads of a Post/Topic

**URL:** <https://meta.discourse.org/t/list-all-uploads-of-a-post-topic/53507>\
**Category:** Development\
**Created:** [11월 29, 2016, 1:35오전 UTC](https://meta.discourse.org/t/list-all-uploads-of-a-post-topic/53507 "2016-11-29T01:35:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [11월 29, 2016, 1:58오전 UTC](https://meta.discourse.org/t/list-all-uploads-of-a-post-topic/53507/3 "2016-11-29T01:58:38Z")

</div>

@leo.proctor

> [@leo.proctor](#):
>
> Is there any method defined that lists all the uploads of a post or tell us which post upload belongs to?

With any instance of `Post`, you can do `post.uploads` to fetch all the `Upload`s that belong to a post.

> [@leo.proctor](#):
>
> Why PostUpload is not used?

`PostUpload` is being used in `through: :post_uploads`. I think there might be some confusion here. Perhaps you can provide me with more context?

---

_[View the full topic](https://meta.discourse.org/t/list-all-uploads-of-a-post-topic/53507)._
