-
Notifications
You must be signed in to change notification settings - Fork 71
The Friendship Model
raw1z edited this page Nov 2, 2012
·
3 revisions
For versions prior to v0.8.0, the generator shipped with amistad created a friendship model in the app directory of the rails project. Since v0.8.0, amistad supports custom user model and the friendship model is created automatically depending on the name of the user model:
'User' => Amistad::Friendships::UserFriendship
'Profile' => Amistad::Friendships::ProfileFriendship