# Checking if post or thread - Ruby

**URL:** <https://meta.discourse.org/t/checking-if-post-or-thread-ruby/116437>\
**Category:** Development\
**Created:** [April 30, 2019, 1:37pm UTC](https://meta.discourse.org/t/checking-if-post-or-thread-ruby/116437 "2019-04-30T13:37:52Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![jackkelly-bayliss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackkelly-bayliss/32/139749_2.png) [@jackkelly-bayliss](https://meta.discourse.org/u/jackkelly-bayliss)\
**Post date:** [April 30, 2019, 6:13pm UTC](https://meta.discourse.org/t/checking-if-post-or-thread-ruby/116437/17 "2019-04-30T18:13:22Z")

</div>

Yes, if that’s possible. I’ve created a custom field named ‘Embed Colour’ and added it into the code but it appears to be blank when it’s retrieved. Any suggestions?

![image](https://global.discourse-cdn.com/meta/original/3X/9/c/9c033d4e956d9e2d9af5b78c8db43a680ffb602a.png)

---

_[View the full topic](https://meta.discourse.org/t/checking-if-post-or-thread-ruby/116437)._
