# Show has\_one relationship in parent association related data tab

**URL:** <https://community.forestadmin.com/t/show-has-one-relationship-in-parent-association-related-data-tab/4659>\
**Category:** Help me!\
**Created:** [May 10, 2022, 1:03pm UTC](https://community.forestadmin.com/t/show-has-one-relationship-in-parent-association-related-data-tab/4659 "2022-05-10T13:03:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nico\_lrx](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nico_lrx/32/708_2.png) [@nico\_lrx](https://community.forestadmin.com/u/nico_lrx)\
**Post date:** [May 10, 2022, 1:03pm UTC](https://community.forestadmin.com/t/show-has-one-relationship-in-parent-association-related-data-tab/4659/1 "2022-05-10T13:03:06Z")

</div>

I created a new table Story in my Rails app:

### Story Model:

```javascript
class Story < ApplicationRecord
	belongs_to :wp_post
end

```

### WpPost Model:

```javascript
class WpPost < ApplicationRecord
	has_one :story, :dependent => :destroy
end

```

I would like that my Story appears in the related data tab of WpPost. So far, only has\_many associations appear, I wonder why?

 ![Capture d’écran 2022-05-10 à 15.59.22](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/88ac838ac0fa894aff836eead8fbc056c07a0b05.png)

Thanks,  
Nicolas

---

<div class="post-metadata">

**Author:** ![anon15528774](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@anon15528774](https://community.forestadmin.com/u/anon15528774)\
**Post date:** [May 10, 2022, 1:27pm UTC](https://community.forestadmin.com/t/show-has-one-relationship-in-parent-association-related-data-tab/4659/2 "2022-05-10T13:27:54Z")

</div>

Hello @nico_lrx 👋

Only has\_many relationships appear in this _Related Data_ left panel. belongs\_to and has\_one relationships should appear in the right panel among the other fields as you can see [here in the screenshot](https://docs.forestadmin.com/documentation/reference-guide/models/relationships#adding-a-belongsto-relationship).

---

<div class="post-metadata">

**Author:** ![nico\_lrx](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nico_lrx/32/708_2.png) [@nico\_lrx](https://community.forestadmin.com/u/nico_lrx)\
**Post date:** [May 10, 2022, 1:32pm UTC](https://community.forestadmin.com/t/show-has-one-relationship-in-parent-association-related-data-tab/4659/3 "2022-05-10T13:32:17Z")

</div>

Oups, my bad, thanks for the clarification!
