]> git.openstreetmap.org Git - rails.git/blob - app/models/friend.rb
Fix for #1565. Added a couple of tests and fixed another issue with re-used placehold...
[rails.git] / app / models / friend.rb
1 class Friend < ActiveRecord::Base
2   belongs_to :befriender, :class_name => "User", :foreign_key => :user_id
3   belongs_to :befriendee, :class_name => "User", :foreign_key => :friend_user_id
4 end