Create a ruby on rails feature list

2

I have been trying for a few days but I have not been able to solve my problem. I need to create a feature list for an item and then list all of them. I wish they could help me or pass me some tutorial on. Home Well I have a person's registry and would like to include in this registry several "features". I currently have two registrations, one for the person and one for the feature, but I am not able to associate the two.

I used belongs_to, but it's just a case. I wish the characteristics could be used on several people and several people had different characteristics. Home How can I make this association? How can I list all the features later?

    
asked by anonymous 29.04.2017 / 18:45

1 answer

0

Perhaps you can solve your question by studying this section of Rails Tutorial, whose approach is demonstrated in the figure below:

    
30.04.2017 / 15:33