# 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:** 1

<div class="post-metadata">

**Author:** ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)\
**Post date:** [May 20, 2024, 12:52pm UTC](https://meta.discourse.org/t/help-with-rails-console-to-edit-text-template/308691/1 "2024-05-20T12:52:10Z")

</div>

I’d like to edit directly in rails a text template, say `user_notifications.user_watching_first_post.text_body_template`.

Can someone please help point me to the rails console commands for this? I’m not rails savvy and couldn’t find the object that holds those.

---

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