检查是帖子还是线程 - Ruby

Which user? The one who wrote the post?

If so, you can do post.user.custom_fields["custom_field_name"]

(replace custom_field_name with the custom field you want to access)