-1

I have small project with users, users posts, friendships, comments. I want to make groups of users. Can you help me make it? or send to make links to tutorials or books. thank u so much

Pyrchev
  • 1
  • 1

1 Answers1

0

It sounds like you want a many-to-many relationship. There are two ways to do this, and this railscasts episode describes them (note that it is for Rails 2.x but the general idea carries over to Rails 3).

I'd also recommend looking at these two guides:

tjwallace
  • 5,528
  • 1
  • 26
  • 15