Many to many relationship...I think

Hello, I have an issue.

I have a users table (id,name)
Eg. 1, cmircea

Another table called features (id,feature)
Eg. 1,hair colour; 2,eye colour; 3,interests

Another table called attributes (id,feature_id,attribute)
Eg.
1,2,blue; 2,2,green; 3,2,black
3,3,computers; 4,3,music; 5,3,reading

How do I make the connection between users and attributes table?
So basically I want to set for every user hair colour, eye colour, and
interests?

Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs