# Troubles with polymorphics associations

**URL:** <https://www.ruby-forum.com/t/troubles-with-polymorphics-associations/170029>\
**Category:** Rails\
**Created:** [June 11, 2009, 2:39pm UTC](https://www.ruby-forum.com/t/troubles-with-polymorphics-associations/170029 "2009-06-11T14:39:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romain-tanguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@romain-tanguy](https://www.ruby-forum.com/u/romain-tanguy)\
**Post date:** [June 11, 2009, 2:39pm UTC](https://www.ruby-forum.com/t/troubles-with-polymorphics-associations/170029/1 "2009-06-11T14:39:02Z")

</div>

Hello,

Since some days, I try to create a dynamic user profiling system. In  
this system, users can use many fields defined in a list.

In these fields, there are ones which admit a scalar value (like  
firstname or birthday) and others which admit a collection (like  
skills or visited countries) of value.

I have some troubles with that… How can i manage these polymorphic  
fields ? Can you help me the define my models and their relations ?

Thanks for reading,

Sephi-Chan
