# User attributes

**URL:** <https://meta.discourse.org/t/user-attributes/315619>\
**Category:** Development\
**Tags:** rails-console\
**Created:** [July 9, 2024, 5:21pm UTC](https://meta.discourse.org/t/user-attributes/315619 "2024-07-09T17:21:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![anon82911141](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@anon82911141](https://meta.discourse.org/u/anon82911141)\
**Post date:** [July 9, 2024, 5:21pm UTC](https://meta.discourse.org/t/user-attributes/315619/1 "2024-07-09T17:21:51Z")

</div>

Hi,

I tried running commands in `rails c` such as `User.find(1).update(ip_address: nil, topics_viewed: nil)` to update the things in this list below - however, I kept getting errors:

 ![The image shows user account details with various fields such as username, email, activity status, trust level, and associated metrics, with some sensitive information redacted in red for privacy. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/7/3/e/73e56e75aa1500ed9b8cfce92c0c88dc42498f94.png)

How would I change these values?

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/user-attributes/315619)._
