# How to write a ruby code that add a new user's data to a user\_custom\_fields

**URL:** <https://meta.discourse.org/t/how-to-write-a-ruby-code-that-add-a-new-users-data-to-a-user-custom-fields/66662>\
**Category:** Product Support\
**Created:** [July 23, 2017, 9:04am UTC](https://meta.discourse.org/t/how-to-write-a-ruby-code-that-add-a-new-users-data-to-a-user-custom-fields/66662 "2017-07-23T09:04:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 23, 2017, 9:25am UTC](https://meta.discourse.org/t/how-to-write-a-ruby-code-that-add-a-new-users-data-to-a-user-custom-fields/66662/2 "2017-07-23T09:25:40Z")

</div>

Is there a reason not to use the built-in custom user fields?

---

_[View the full topic](https://meta.discourse.org/t/how-to-write-a-ruby-code-that-add-a-new-users-data-to-a-user-custom-fields/66662)._
