Model design: Users have friends which are users
问题 I'm looking to make sure my methods are correct before pursuing this association. The implementation sounds too complicated, so I think there must be something wrong with my plan. I am using structured (SQL) data storage, conforming to the rails storage conventions. What I have is a User model, it has an email address, password_digest , and name in the Schema. class User < ActiveRecord::Base has_many :posts end I'd like to implement a has_many association to a friends collection, so that