# Help with Rails console to edit text template

**URL:** <https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691>\
**Category:** Self-hosting\
**Tags:** rails-console\
**Created:** [May 20, 2024, 12:52pm UTC](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691 "2024-05-20T12:52:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 20, 2024, 1:53pm UTC](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691/5 "2024-05-20T13:53:37Z")

</div>

Without looking carefully at the code, I’m 99% sure that the issue is on the Rails side and not the UX side, so I don’t think changing it on the Rails side is likely to fix anything. If you have a budget, I can help figure out how to do what you ask, but won’t promise that it will solve your problem.

You can find ones you’ve changed with something like this:

```plaintext
TranslationOverride.all.pluck(:id, :translation_key)

```

And then update them with something like

```plaintext
to=TranslationOverride.find(1)
to.value="My new value for the override"
to.save

```

I don’t promise that this will work or not make things worse. But worse case you should be able to un-do your changes from the UX.

---

_[View the full topic](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691)._
