# Help building plugin that requires overriting ruby controller methods

**URL:** <https://meta.discourse.org/t/help-building-plugin-that-requires-overriting-ruby-controller-methods/259129>\
**Category:** Development\
**Created:** [March 23, 2023, 9:52am UTC](https://meta.discourse.org/t/help-building-plugin-that-requires-overriting-ruby-controller-methods/259129 "2023-03-23T09:52:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 23, 2023, 4:44pm UTC](https://meta.discourse.org/t/help-building-plugin-that-requires-overriting-ruby-controller-methods/259129/3 "2023-03-23T16:44:45Z")

</div>

> [@Pabs](#):
>
> that surfaces a checkbox when creating a topic on the UI,

You’ll need to do that with a plugin outlet in the ember front end.

> [@Pabs](#):
>
> that basically saves a new attribute in the topics table

You want to use a TopicCustomField, not change any tables.

> [@Pabs](#):
>
> and then surface the new attrbute when visiting a Topics page.

You’ll want to add the custom field to the topic serializer.

You can look at other plugins that do those things for some examples.

---

_[View the full topic](https://meta.discourse.org/t/help-building-plugin-that-requires-overriting-ruby-controller-methods/259129)._
